• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 MITSUMI_X_CDROM_MAJOR 20
49 #define MFM_ACORN_MAJOR 21
50 #define SCSI_GENERIC_MAJOR 21
51 #define IDE1_MAJOR 22
52 #define DIGICU_MAJOR 22
53 #define DIGI_MAJOR 23
54 #define MITSUMI_CDROM_MAJOR 23
55 #define CDU535_CDROM_MAJOR 24
56 #define STL_SERIALMAJOR 24
57 #define MATSUSHITA_CDROM_MAJOR 25
58 #define STL_CALLOUTMAJOR 25
59 #define MATSUSHITA_CDROM2_MAJOR 26
60 #define QIC117_TAPE_MAJOR 27
61 #define MATSUSHITA_CDROM3_MAJOR 27
62 #define MATSUSHITA_CDROM4_MAJOR 28
63 #define STL_SIOMEMMAJOR 28
64 #define ACSI_MAJOR 28
65 #define AZTECH_CDROM_MAJOR 29
66 #define FB_MAJOR 29
67 #define MTD_BLOCK_MAJOR 31
68 #define CM206_CDROM_MAJOR 32
69 #define IDE2_MAJOR 33
70 #define IDE3_MAJOR 34
71 #define Z8530_MAJOR 34
72 #define XPRAM_MAJOR 35
73 #define NETLINK_MAJOR 36
74 #define PS2ESDI_MAJOR 36
75 #define IDETAPE_MAJOR 37
76 #define Z2RAM_MAJOR 37
77 #define APBLOCK_MAJOR 38
78 #define DDV_MAJOR 39
79 #define NBD_MAJOR 43
80 #define RISCOM8_NORMAL_MAJOR 48
81 #define DAC960_MAJOR 48
82 #define RISCOM8_CALLOUT_MAJOR 49
83 #define MKISS_MAJOR 55
84 #define DSP56K_MAJOR 55
85 #define IDE4_MAJOR 56
86 #define IDE5_MAJOR 57
87 #define SCSI_DISK1_MAJOR 65
88 #define SCSI_DISK2_MAJOR 66
89 #define SCSI_DISK3_MAJOR 67
90 #define SCSI_DISK4_MAJOR 68
91 #define SCSI_DISK5_MAJOR 69
92 #define SCSI_DISK6_MAJOR 70
93 #define SCSI_DISK7_MAJOR 71
94 #define COMPAQ_SMART2_MAJOR 72
95 #define COMPAQ_SMART2_MAJOR1 73
96 #define COMPAQ_SMART2_MAJOR2 74
97 #define COMPAQ_SMART2_MAJOR3 75
98 #define COMPAQ_SMART2_MAJOR4 76
99 #define COMPAQ_SMART2_MAJOR5 77
100 #define COMPAQ_SMART2_MAJOR6 78
101 #define COMPAQ_SMART2_MAJOR7 79
102 #define SPECIALIX_NORMAL_MAJOR 75
103 #define SPECIALIX_CALLOUT_MAJOR 76
104 #define AURORA_MAJOR 79
105 #define I2O_MAJOR 80
106 #define SHMIQ_MAJOR 85
107 #define SCSI_CHANGER_MAJOR 86
108 #define IDE6_MAJOR 88
109 #define IDE7_MAJOR 89
110 #define IDE8_MAJOR 90
111 #define MTD_CHAR_MAJOR 90
112 #define IDE9_MAJOR 91
113 #define DASD_MAJOR 94
114 #define MDISK_MAJOR 95
115 #define UBD_MAJOR 98
116 #define PP_MAJOR 99
117 #define JSFD_MAJOR 99
118 #define PHONE_MAJOR 100
119 #define COMPAQ_CISS_MAJOR 104
120 #define COMPAQ_CISS_MAJOR1 105
121 #define COMPAQ_CISS_MAJOR2 106
122 #define COMPAQ_CISS_MAJOR3 107
123 #define COMPAQ_CISS_MAJOR4 108
124 #define COMPAQ_CISS_MAJOR5 109
125 #define COMPAQ_CISS_MAJOR6 110
126 #define COMPAQ_CISS_MAJOR7 111
127 #define VIODASD_MAJOR 112
128 #define VIOCD_MAJOR 113
129 #define ATARAID_MAJOR 114
130 #define SCSI_DISK8_MAJOR 128
131 #define SCSI_DISK9_MAJOR 129
132 #define SCSI_DISK10_MAJOR 130
133 #define SCSI_DISK11_MAJOR 131
134 #define SCSI_DISK12_MAJOR 132
135 #define SCSI_DISK13_MAJOR 133
136 #define SCSI_DISK14_MAJOR 134
137 #define SCSI_DISK15_MAJOR 135
138 #define UNIX98_PTY_MASTER_MAJOR 128
139 #define UNIX98_PTY_MAJOR_COUNT 8
140 #define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR + UNIX98_PTY_MAJOR_COUNT)
141 #define DRBD_MAJOR 147
142 #define RTF_MAJOR 150
143 #define RAW_MAJOR 162
144 #define USB_ACM_MAJOR 166
145 #define USB_ACM_AUX_MAJOR 167
146 #define USB_CHAR_MAJOR 180
147 #define MMC_BLOCK_MAJOR 179
148 #define VXVM_MAJOR 199
149 #define VXSPEC_MAJOR 200
150 #define VXDMP_MAJOR 201
151 #define XENVBD_MAJOR 202
152 #define MSR_MAJOR 202
153 #define CPUID_MAJOR 203
154 #define OSST_MAJOR 206
155 #define IBM_TTY3270_MAJOR 227
156 #define IBM_FS3270_MAJOR 228
157 #define VIOTAPE_MAJOR 230
158 #define BLOCK_EXT_MAJOR 259
159 #define SCSI_OSD_MAJOR 260
160 #endif
161