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 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define RAMDISK_MAJOR 1
25 #define FLOPPY_MAJOR 2
26 #define PTY_MASTER_MAJOR 2
27 #define IDE0_MAJOR 3
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define HD_MAJOR IDE0_MAJOR
30 #define PTY_SLAVE_MAJOR 3
31 #define TTY_MAJOR 4
32 #define TTYAUX_MAJOR 5
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 #define LP_MAJOR 6
35 #define VCS_MAJOR 7
36 #define LOOP_MAJOR 7
37 #define SCSI_DISK0_MAJOR 8
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define SCSI_TAPE_MAJOR 9
40 #define MD_MAJOR 9
41 #define MISC_MAJOR 10
42 #define SCSI_CDROM_MAJOR 11
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 #define MUX_MAJOR 11
45 #define XT_DISK_MAJOR 13
46 #define INPUT_MAJOR 13
47 #define SOUND_MAJOR 14
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #define CDU31A_CDROM_MAJOR 15
50 #define JOYSTICK_MAJOR 15
51 #define GOLDSTAR_CDROM_MAJOR 16
52 #define OPTICS_CDROM_MAJOR 17
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #define SANYO_CDROM_MAJOR 18
55 #define CYCLADES_MAJOR 19
56 #define CYCLADESAUX_MAJOR 20
57 #define MITSUMI_X_CDROM_MAJOR 20
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 #define MFM_ACORN_MAJOR 21
60 #define SCSI_GENERIC_MAJOR 21
61 #define IDE1_MAJOR 22
62 #define DIGICU_MAJOR 22
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 #define DIGI_MAJOR 23
65 #define MITSUMI_CDROM_MAJOR 23
66 #define CDU535_CDROM_MAJOR 24
67 #define STL_SERIALMAJOR 24
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 #define MATSUSHITA_CDROM_MAJOR 25
70 #define STL_CALLOUTMAJOR 25
71 #define MATSUSHITA_CDROM2_MAJOR 26
72 #define QIC117_TAPE_MAJOR 27
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 #define MATSUSHITA_CDROM3_MAJOR 27
75 #define MATSUSHITA_CDROM4_MAJOR 28
76 #define STL_SIOMEMMAJOR 28
77 #define ACSI_MAJOR 28
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79 #define AZTECH_CDROM_MAJOR 29
80 #define FB_MAJOR 29
81 #define MTD_BLOCK_MAJOR 31
82 #define CM206_CDROM_MAJOR 32
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84 #define IDE2_MAJOR 33
85 #define IDE3_MAJOR 34
86 #define Z8530_MAJOR 34
87 #define XPRAM_MAJOR 35
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89 #define NETLINK_MAJOR 36
90 #define PS2ESDI_MAJOR 36
91 #define IDETAPE_MAJOR 37
92 #define Z2RAM_MAJOR 37
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94 #define APBLOCK_MAJOR 38
95 #define DDV_MAJOR 39
96 #define NBD_MAJOR 43
97 #define RISCOM8_NORMAL_MAJOR 48
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99 #define DAC960_MAJOR 48
100 #define RISCOM8_CALLOUT_MAJOR 49
101 #define MKISS_MAJOR 55
102 #define DSP56K_MAJOR 55
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104 #define IDE4_MAJOR 56
105 #define IDE5_MAJOR 57
106 #define SCSI_DISK1_MAJOR 65
107 #define SCSI_DISK2_MAJOR 66
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109 #define SCSI_DISK3_MAJOR 67
110 #define SCSI_DISK4_MAJOR 68
111 #define SCSI_DISK5_MAJOR 69
112 #define SCSI_DISK6_MAJOR 70
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114 #define SCSI_DISK7_MAJOR 71
115 #define COMPAQ_SMART2_MAJOR 72
116 #define COMPAQ_SMART2_MAJOR1 73
117 #define COMPAQ_SMART2_MAJOR2 74
118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119 #define COMPAQ_SMART2_MAJOR3 75
120 #define COMPAQ_SMART2_MAJOR4 76
121 #define COMPAQ_SMART2_MAJOR5 77
122 #define COMPAQ_SMART2_MAJOR6 78
123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124 #define COMPAQ_SMART2_MAJOR7 79
125 #define SPECIALIX_NORMAL_MAJOR 75
126 #define SPECIALIX_CALLOUT_MAJOR 76
127 #define AURORA_MAJOR 79
128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129 #define I2O_MAJOR 80
130 #define SHMIQ_MAJOR 85
131 #define SCSI_CHANGER_MAJOR 86
132 #define IDE6_MAJOR 88
133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134 #define IDE7_MAJOR 89
135 #define IDE8_MAJOR 90
136 #define MTD_CHAR_MAJOR 90
137 #define IDE9_MAJOR 91
138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139 #define DASD_MAJOR 94
140 #define MDISK_MAJOR 95
141 #define UBD_MAJOR 98
142 #define PP_MAJOR 99
143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144 #define JSFD_MAJOR 99
145 #define PHONE_MAJOR 100
146 #define COMPAQ_CISS_MAJOR 104
147 #define COMPAQ_CISS_MAJOR1 105
148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149 #define COMPAQ_CISS_MAJOR2 106
150 #define COMPAQ_CISS_MAJOR3 107
151 #define COMPAQ_CISS_MAJOR4 108
152 #define COMPAQ_CISS_MAJOR5 109
153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
154 #define COMPAQ_CISS_MAJOR6 110
155 #define COMPAQ_CISS_MAJOR7 111
156 #define VIODASD_MAJOR 112
157 #define VIOCD_MAJOR 113
158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
159 #define ATARAID_MAJOR 114
160 #define SCSI_DISK8_MAJOR 128
161 #define SCSI_DISK9_MAJOR 129
162 #define SCSI_DISK10_MAJOR 130
163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
164 #define SCSI_DISK11_MAJOR 131
165 #define SCSI_DISK12_MAJOR 132
166 #define SCSI_DISK13_MAJOR 133
167 #define SCSI_DISK14_MAJOR 134
168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169 #define SCSI_DISK15_MAJOR 135
170 #define UNIX98_PTY_MASTER_MAJOR 128
171 #define UNIX98_PTY_MAJOR_COUNT 8
172 #define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR+UNIX98_PTY_MAJOR_COUNT)
173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174 #define DRBD_MAJOR 147
175 #define RTF_MAJOR 150
176 #define RAW_MAJOR 162
177 #define USB_ACM_MAJOR 166
178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179 #define USB_ACM_AUX_MAJOR 167
180 #define USB_CHAR_MAJOR 180
181 #define MMC_BLOCK_MAJOR 179
182 #define VXVM_MAJOR 199
183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
184 #define VXSPEC_MAJOR 200
185 #define VXDMP_MAJOR 201
186 #define XENVBD_MAJOR 202
187 #define MSR_MAJOR 202
188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
189 #define CPUID_MAJOR 203
190 #define OSST_MAJOR 206
191 #define IBM_TTY3270_MAJOR 227
192 #define IBM_FS3270_MAJOR 228
193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
194 #define VIOTAPE_MAJOR 230
195 #define BLOCK_EXT_MAJOR 259
196 #define SCSI_OSD_MAJOR 260
197 #endif
198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199