blob: d07d065324263f617fbb192e464d9d8579f25e70 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
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
Christopher Ferris38062f92014-07-09 15:33:25 -070081#define MTD_BLOCK_MAJOR 31
Ben Cheng655a7c02013-10-16 16:09:24 -070082#define CM206_CDROM_MAJOR 32
Ben Cheng655a7c02013-10-16 16:09:24 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070084#define IDE2_MAJOR 33
Ben Cheng655a7c02013-10-16 16:09:24 -070085#define IDE3_MAJOR 34
86#define Z8530_MAJOR 34
87#define XPRAM_MAJOR 35
Ben Cheng655a7c02013-10-16 16:09:24 -070088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070089#define NETLINK_MAJOR 36
Ben Cheng655a7c02013-10-16 16:09:24 -070090#define PS2ESDI_MAJOR 36
91#define IDETAPE_MAJOR 37
92#define Z2RAM_MAJOR 37
Ben Cheng655a7c02013-10-16 16:09:24 -070093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070094#define APBLOCK_MAJOR 38
Ben Cheng655a7c02013-10-16 16:09:24 -070095#define DDV_MAJOR 39
96#define NBD_MAJOR 43
97#define RISCOM8_NORMAL_MAJOR 48
Ben Cheng655a7c02013-10-16 16:09:24 -070098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070099#define DAC960_MAJOR 48
Ben Cheng655a7c02013-10-16 16:09:24 -0700100#define RISCOM8_CALLOUT_MAJOR 49
101#define MKISS_MAJOR 55
102#define DSP56K_MAJOR 55
Ben Cheng655a7c02013-10-16 16:09:24 -0700103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700104#define IDE4_MAJOR 56
Ben Cheng655a7c02013-10-16 16:09:24 -0700105#define IDE5_MAJOR 57
106#define SCSI_DISK1_MAJOR 65
107#define SCSI_DISK2_MAJOR 66
Ben Cheng655a7c02013-10-16 16:09:24 -0700108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700109#define SCSI_DISK3_MAJOR 67
Ben Cheng655a7c02013-10-16 16:09:24 -0700110#define SCSI_DISK4_MAJOR 68
111#define SCSI_DISK5_MAJOR 69
112#define SCSI_DISK6_MAJOR 70
Ben Cheng655a7c02013-10-16 16:09:24 -0700113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700114#define SCSI_DISK7_MAJOR 71
Ben Cheng655a7c02013-10-16 16:09:24 -0700115#define COMPAQ_SMART2_MAJOR 72
116#define COMPAQ_SMART2_MAJOR1 73
117#define COMPAQ_SMART2_MAJOR2 74
Ben Cheng655a7c02013-10-16 16:09:24 -0700118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700119#define COMPAQ_SMART2_MAJOR3 75
Ben Cheng655a7c02013-10-16 16:09:24 -0700120#define COMPAQ_SMART2_MAJOR4 76
121#define COMPAQ_SMART2_MAJOR5 77
122#define COMPAQ_SMART2_MAJOR6 78
Ben Cheng655a7c02013-10-16 16:09:24 -0700123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700124#define COMPAQ_SMART2_MAJOR7 79
Ben Cheng655a7c02013-10-16 16:09:24 -0700125#define SPECIALIX_NORMAL_MAJOR 75
126#define SPECIALIX_CALLOUT_MAJOR 76
127#define AURORA_MAJOR 79
Ben Cheng655a7c02013-10-16 16:09:24 -0700128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700129#define I2O_MAJOR 80
Ben Cheng655a7c02013-10-16 16:09:24 -0700130#define SHMIQ_MAJOR 85
131#define SCSI_CHANGER_MAJOR 86
132#define IDE6_MAJOR 88
Ben Cheng655a7c02013-10-16 16:09:24 -0700133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700134#define IDE7_MAJOR 89
Ben Cheng655a7c02013-10-16 16:09:24 -0700135#define IDE8_MAJOR 90
Christopher Ferris38062f92014-07-09 15:33:25 -0700136#define MTD_CHAR_MAJOR 90
Ben Cheng655a7c02013-10-16 16:09:24 -0700137#define IDE9_MAJOR 91
Christopher Ferris38062f92014-07-09 15:33:25 -0700138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700139#define DASD_MAJOR 94
140#define MDISK_MAJOR 95
Ben Cheng655a7c02013-10-16 16:09:24 -0700141#define UBD_MAJOR 98
142#define PP_MAJOR 99
Christopher Ferris38062f92014-07-09 15:33:25 -0700143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700144#define JSFD_MAJOR 99
145#define PHONE_MAJOR 100
Ben Cheng655a7c02013-10-16 16:09:24 -0700146#define COMPAQ_CISS_MAJOR 104
147#define COMPAQ_CISS_MAJOR1 105
Christopher Ferris38062f92014-07-09 15:33:25 -0700148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700149#define COMPAQ_CISS_MAJOR2 106
150#define COMPAQ_CISS_MAJOR3 107
Ben Cheng655a7c02013-10-16 16:09:24 -0700151#define COMPAQ_CISS_MAJOR4 108
152#define COMPAQ_CISS_MAJOR5 109
Christopher Ferris38062f92014-07-09 15:33:25 -0700153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700154#define COMPAQ_CISS_MAJOR6 110
155#define COMPAQ_CISS_MAJOR7 111
Ben Cheng655a7c02013-10-16 16:09:24 -0700156#define VIODASD_MAJOR 112
157#define VIOCD_MAJOR 113
Christopher Ferris38062f92014-07-09 15:33:25 -0700158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700159#define ATARAID_MAJOR 114
160#define SCSI_DISK8_MAJOR 128
Ben Cheng655a7c02013-10-16 16:09:24 -0700161#define SCSI_DISK9_MAJOR 129
162#define SCSI_DISK10_MAJOR 130
Christopher Ferris38062f92014-07-09 15:33:25 -0700163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700164#define SCSI_DISK11_MAJOR 131
165#define SCSI_DISK12_MAJOR 132
Ben Cheng655a7c02013-10-16 16:09:24 -0700166#define SCSI_DISK13_MAJOR 133
167#define SCSI_DISK14_MAJOR 134
Christopher Ferris38062f92014-07-09 15:33:25 -0700168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700169#define SCSI_DISK15_MAJOR 135
170#define UNIX98_PTY_MASTER_MAJOR 128
Ben Cheng655a7c02013-10-16 16:09:24 -0700171#define UNIX98_PTY_MAJOR_COUNT 8
172#define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR+UNIX98_PTY_MAJOR_COUNT)
Christopher Ferris38062f92014-07-09 15:33:25 -0700173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700174#define DRBD_MAJOR 147
175#define RTF_MAJOR 150
Ben Cheng655a7c02013-10-16 16:09:24 -0700176#define RAW_MAJOR 162
177#define USB_ACM_MAJOR 166
Christopher Ferris38062f92014-07-09 15:33:25 -0700178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700179#define USB_ACM_AUX_MAJOR 167
180#define USB_CHAR_MAJOR 180
Ben Cheng655a7c02013-10-16 16:09:24 -0700181#define MMC_BLOCK_MAJOR 179
182#define VXVM_MAJOR 199
Christopher Ferris38062f92014-07-09 15:33:25 -0700183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700184#define VXSPEC_MAJOR 200
185#define VXDMP_MAJOR 201
Ben Cheng655a7c02013-10-16 16:09:24 -0700186#define XENVBD_MAJOR 202
187#define MSR_MAJOR 202
Christopher Ferris38062f92014-07-09 15:33:25 -0700188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700189#define CPUID_MAJOR 203
190#define OSST_MAJOR 206
Ben Cheng655a7c02013-10-16 16:09:24 -0700191#define IBM_TTY3270_MAJOR 227
192#define IBM_FS3270_MAJOR 228
Christopher Ferris38062f92014-07-09 15:33:25 -0700193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700194#define VIOTAPE_MAJOR 230
195#define BLOCK_EXT_MAJOR 259
Ben Cheng655a7c02013-10-16 16:09:24 -0700196#define SCSI_OSD_MAJOR 260
197#endif
Christopher Ferris38062f92014-07-09 15:33:25 -0700198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */