1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _LINUX_MAJOR_H 20 #define _LINUX_MAJOR_H 21 #define UNNAMED_MAJOR 0 22 #define MEM_MAJOR 1 23 #define RAMDISK_MAJOR 1 24 #define FLOPPY_MAJOR 2 25 #define PTY_MASTER_MAJOR 2 26 #define IDE0_MAJOR 3 27 #define HD_MAJOR IDE0_MAJOR 28 #define PTY_SLAVE_MAJOR 3 29 #define TTY_MAJOR 4 30 #define TTYAUX_MAJOR 5 31 #define LP_MAJOR 6 32 #define VCS_MAJOR 7 33 #define LOOP_MAJOR 7 34 #define SCSI_DISK0_MAJOR 8 35 #define SCSI_TAPE_MAJOR 9 36 #define MD_MAJOR 9 37 #define MISC_MAJOR 10 38 #define SCSI_CDROM_MAJOR 11 39 #define MUX_MAJOR 11 40 #define XT_DISK_MAJOR 13 41 #define INPUT_MAJOR 13 42 #define SOUND_MAJOR 14 43 #define CDU31A_CDROM_MAJOR 15 44 #define JOYSTICK_MAJOR 15 45 #define GOLDSTAR_CDROM_MAJOR 16 46 #define OPTICS_CDROM_MAJOR 17 47 #define SANYO_CDROM_MAJOR 18 48 #define CYCLADES_MAJOR 19 49 #define CYCLADESAUX_MAJOR 20 50 #define MITSUMI_X_CDROM_MAJOR 20 51 #define MFM_ACORN_MAJOR 21 52 #define SCSI_GENERIC_MAJOR 21 53 #define IDE1_MAJOR 22 54 #define DIGICU_MAJOR 22 55 #define DIGI_MAJOR 23 56 #define MITSUMI_CDROM_MAJOR 23 57 #define CDU535_CDROM_MAJOR 24 58 #define STL_SERIALMAJOR 24 59 #define MATSUSHITA_CDROM_MAJOR 25 60 #define STL_CALLOUTMAJOR 25 61 #define MATSUSHITA_CDROM2_MAJOR 26 62 #define QIC117_TAPE_MAJOR 27 63 #define MATSUSHITA_CDROM3_MAJOR 27 64 #define MATSUSHITA_CDROM4_MAJOR 28 65 #define STL_SIOMEMMAJOR 28 66 #define ACSI_MAJOR 28 67 #define AZTECH_CDROM_MAJOR 29 68 #define FB_MAJOR 29 69 #define MTD_BLOCK_MAJOR 31 70 #define CM206_CDROM_MAJOR 32 71 #define IDE2_MAJOR 33 72 #define IDE3_MAJOR 34 73 #define Z8530_MAJOR 34 74 #define XPRAM_MAJOR 35 75 #define NETLINK_MAJOR 36 76 #define PS2ESDI_MAJOR 36 77 #define IDETAPE_MAJOR 37 78 #define Z2RAM_MAJOR 37 79 #define APBLOCK_MAJOR 38 80 #define DDV_MAJOR 39 81 #define NBD_MAJOR 43 82 #define RISCOM8_NORMAL_MAJOR 48 83 #define DAC960_MAJOR 48 84 #define RISCOM8_CALLOUT_MAJOR 49 85 #define MKISS_MAJOR 55 86 #define DSP56K_MAJOR 55 87 #define IDE4_MAJOR 56 88 #define IDE5_MAJOR 57 89 #define SCSI_DISK1_MAJOR 65 90 #define SCSI_DISK2_MAJOR 66 91 #define SCSI_DISK3_MAJOR 67 92 #define SCSI_DISK4_MAJOR 68 93 #define SCSI_DISK5_MAJOR 69 94 #define SCSI_DISK6_MAJOR 70 95 #define SCSI_DISK7_MAJOR 71 96 #define COMPAQ_SMART2_MAJOR 72 97 #define COMPAQ_SMART2_MAJOR1 73 98 #define COMPAQ_SMART2_MAJOR2 74 99 #define COMPAQ_SMART2_MAJOR3 75 100 #define COMPAQ_SMART2_MAJOR4 76 101 #define COMPAQ_SMART2_MAJOR5 77 102 #define COMPAQ_SMART2_MAJOR6 78 103 #define COMPAQ_SMART2_MAJOR7 79 104 #define SPECIALIX_NORMAL_MAJOR 75 105 #define SPECIALIX_CALLOUT_MAJOR 76 106 #define AURORA_MAJOR 79 107 #define I2O_MAJOR 80 108 #define SHMIQ_MAJOR 85 109 #define SCSI_CHANGER_MAJOR 86 110 #define IDE6_MAJOR 88 111 #define IDE7_MAJOR 89 112 #define IDE8_MAJOR 90 113 #define MTD_CHAR_MAJOR 90 114 #define IDE9_MAJOR 91 115 #define DASD_MAJOR 94 116 #define MDISK_MAJOR 95 117 #define UBD_MAJOR 98 118 #define PP_MAJOR 99 119 #define JSFD_MAJOR 99 120 #define PHONE_MAJOR 100 121 #define COMPAQ_CISS_MAJOR 104 122 #define COMPAQ_CISS_MAJOR1 105 123 #define COMPAQ_CISS_MAJOR2 106 124 #define COMPAQ_CISS_MAJOR3 107 125 #define COMPAQ_CISS_MAJOR4 108 126 #define COMPAQ_CISS_MAJOR5 109 127 #define COMPAQ_CISS_MAJOR6 110 128 #define COMPAQ_CISS_MAJOR7 111 129 #define VIODASD_MAJOR 112 130 #define VIOCD_MAJOR 113 131 #define ATARAID_MAJOR 114 132 #define SCSI_DISK8_MAJOR 128 133 #define SCSI_DISK9_MAJOR 129 134 #define SCSI_DISK10_MAJOR 130 135 #define SCSI_DISK11_MAJOR 131 136 #define SCSI_DISK12_MAJOR 132 137 #define SCSI_DISK13_MAJOR 133 138 #define SCSI_DISK14_MAJOR 134 139 #define SCSI_DISK15_MAJOR 135 140 #define UNIX98_PTY_MASTER_MAJOR 128 141 #define UNIX98_PTY_MAJOR_COUNT 8 142 #define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR + UNIX98_PTY_MAJOR_COUNT) 143 #define DRBD_MAJOR 147 144 #define RTF_MAJOR 150 145 #define RAW_MAJOR 162 146 #define USB_ACM_MAJOR 166 147 #define USB_ACM_AUX_MAJOR 167 148 #define USB_CHAR_MAJOR 180 149 #define MMC_BLOCK_MAJOR 179 150 #define VXVM_MAJOR 199 151 #define VXSPEC_MAJOR 200 152 #define VXDMP_MAJOR 201 153 #define XENVBD_MAJOR 202 154 #define MSR_MAJOR 202 155 #define CPUID_MAJOR 203 156 #define OSST_MAJOR 206 157 #define IBM_TTY3270_MAJOR 227 158 #define IBM_FS3270_MAJOR 228 159 #define VIOTAPE_MAJOR 230 160 #define BLOCK_EXT_MAJOR 259 161 #define SCSI_OSD_MAJOR 260 162 #endif 163