blob: 00e3bcd5fbe31992a5d4dd429d09b4e09e447f38 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
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 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** 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 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _LINUX_MAJOR_H
20#define _LINUX_MAJOR_H
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021#define UNNAMED_MAJOR 0
22#define MEM_MAJOR 1
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024#define RAMDISK_MAJOR 1
25#define FLOPPY_MAJOR 2
26#define PTY_MASTER_MAJOR 2
27#define IDE0_MAJOR 3
Ben Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029#define HD_MAJOR IDE0_MAJOR
30#define PTY_SLAVE_MAJOR 3
31#define TTY_MAJOR 4
32#define TTYAUX_MAJOR 5
Ben Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034#define LP_MAJOR 6
35#define VCS_MAJOR 7
36#define LOOP_MAJOR 7
37#define SCSI_DISK0_MAJOR 8
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080039#define SCSI_TAPE_MAJOR 9
40#define MD_MAJOR 9
41#define MISC_MAJOR 10
42#define SCSI_CDROM_MAJOR 11
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080044#define MUX_MAJOR 11
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080045#define XT_DISK_MAJOR 13
46#define INPUT_MAJOR 13
47#define SOUND_MAJOR 14
Ben Cheng654325d2012-03-07 21:13:49 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049#define CDU31A_CDROM_MAJOR 15
50#define JOYSTICK_MAJOR 15
51#define GOLDSTAR_CDROM_MAJOR 16
52#define OPTICS_CDROM_MAJOR 17
Ben Cheng654325d2012-03-07 21:13:49 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080054#define SANYO_CDROM_MAJOR 18
55#define CYCLADES_MAJOR 19
56#define CYCLADESAUX_MAJOR 20
57#define MITSUMI_X_CDROM_MAJOR 20
Ben Cheng654325d2012-03-07 21:13:49 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080059#define MFM_ACORN_MAJOR 21
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080060#define SCSI_GENERIC_MAJOR 21
61#define IDE1_MAJOR 22
62#define DIGICU_MAJOR 22
Ben Cheng654325d2012-03-07 21:13:49 -080063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080064#define DIGI_MAJOR 23
65#define MITSUMI_CDROM_MAJOR 23
66#define CDU535_CDROM_MAJOR 24
67#define STL_SERIALMAJOR 24
Ben Cheng654325d2012-03-07 21:13:49 -080068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080069#define MATSUSHITA_CDROM_MAJOR 25
70#define STL_CALLOUTMAJOR 25
71#define MATSUSHITA_CDROM2_MAJOR 26
72#define QIC117_TAPE_MAJOR 27
Ben Cheng654325d2012-03-07 21:13:49 -080073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080074#define MATSUSHITA_CDROM3_MAJOR 27
75#define MATSUSHITA_CDROM4_MAJOR 28
76#define STL_SIOMEMMAJOR 28
77#define ACSI_MAJOR 28
Ben Cheng654325d2012-03-07 21:13:49 -080078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080079#define AZTECH_CDROM_MAJOR 29
Elliott Hughesc95eb572013-01-29 18:15:55 -080080#define GRAPHDEV_MAJOR 29
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080081#define CM206_CDROM_MAJOR 32
82#define IDE2_MAJOR 33
Ben Cheng654325d2012-03-07 21:13:49 -080083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080084#define IDE3_MAJOR 34
85#define Z8530_MAJOR 34
Elliott Hughesc95eb572013-01-29 18:15:55 -080086#define XPRAM_MAJOR 35
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080087#define NETLINK_MAJOR 36
Ben Cheng654325d2012-03-07 21:13:49 -080088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080089#define PS2ESDI_MAJOR 36
90#define IDETAPE_MAJOR 37
91#define Z2RAM_MAJOR 37
Elliott Hughesc95eb572013-01-29 18:15:55 -080092#define APBLOCK_MAJOR 38
Ben Cheng654325d2012-03-07 21:13:49 -080093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080094#define DDV_MAJOR 39
95#define NBD_MAJOR 43
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080096#define RISCOM8_NORMAL_MAJOR 48
Elliott Hughesc95eb572013-01-29 18:15:55 -080097#define DAC960_MAJOR 48
Ben Cheng654325d2012-03-07 21:13:49 -080098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080099#define RISCOM8_CALLOUT_MAJOR 49
100#define MKISS_MAJOR 55
Elliott Hughesc95eb572013-01-29 18:15:55 -0800101#define DSP56K_MAJOR 55
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800102#define IDE4_MAJOR 56
Ben Cheng654325d2012-03-07 21:13:49 -0800103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800104#define IDE5_MAJOR 57
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800105#define SCSI_DISK1_MAJOR 65
106#define SCSI_DISK2_MAJOR 66
107#define SCSI_DISK3_MAJOR 67
Ben Cheng654325d2012-03-07 21:13:49 -0800108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800109#define SCSI_DISK4_MAJOR 68
110#define SCSI_DISK5_MAJOR 69
111#define SCSI_DISK6_MAJOR 70
112#define SCSI_DISK7_MAJOR 71
Ben Cheng654325d2012-03-07 21:13:49 -0800113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800114#define COMPAQ_SMART2_MAJOR 72
115#define COMPAQ_SMART2_MAJOR1 73
116#define COMPAQ_SMART2_MAJOR2 74
117#define COMPAQ_SMART2_MAJOR3 75
Ben Cheng654325d2012-03-07 21:13:49 -0800118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800119#define COMPAQ_SMART2_MAJOR4 76
120#define COMPAQ_SMART2_MAJOR5 77
121#define COMPAQ_SMART2_MAJOR6 78
122#define COMPAQ_SMART2_MAJOR7 79
Ben Cheng654325d2012-03-07 21:13:49 -0800123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800124#define SPECIALIX_NORMAL_MAJOR 75
125#define SPECIALIX_CALLOUT_MAJOR 76
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800126#define AURORA_MAJOR 79
Elliott Hughesc95eb572013-01-29 18:15:55 -0800127#define I2O_MAJOR 80
Ben Cheng654325d2012-03-07 21:13:49 -0800128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -0800129#define SHMIQ_MAJOR 85
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800130#define SCSI_CHANGER_MAJOR 86
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800131#define IDE6_MAJOR 88
132#define IDE7_MAJOR 89
Ben Cheng654325d2012-03-07 21:13:49 -0800133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800134#define IDE8_MAJOR 90
135#define IDE9_MAJOR 91
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800136#define DASD_MAJOR 94
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800137#define MDISK_MAJOR 95
Ben Cheng654325d2012-03-07 21:13:49 -0800138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800139#define UBD_MAJOR 98
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800140#define PP_MAJOR 99
141#define JSFD_MAJOR 99
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800142#define PHONE_MAJOR 100
Ben Cheng654325d2012-03-07 21:13:49 -0800143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800144#define COMPAQ_CISS_MAJOR 104
145#define COMPAQ_CISS_MAJOR1 105
146#define COMPAQ_CISS_MAJOR2 106
147#define COMPAQ_CISS_MAJOR3 107
Ben Cheng654325d2012-03-07 21:13:49 -0800148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800149#define COMPAQ_CISS_MAJOR4 108
150#define COMPAQ_CISS_MAJOR5 109
151#define COMPAQ_CISS_MAJOR6 110
152#define COMPAQ_CISS_MAJOR7 111
Ben Cheng654325d2012-03-07 21:13:49 -0800153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800154#define VIODASD_MAJOR 112
155#define VIOCD_MAJOR 113
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800156#define ATARAID_MAJOR 114
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800157#define SCSI_DISK8_MAJOR 128
Ben Cheng654325d2012-03-07 21:13:49 -0800158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800159#define SCSI_DISK9_MAJOR 129
160#define SCSI_DISK10_MAJOR 130
161#define SCSI_DISK11_MAJOR 131
162#define SCSI_DISK12_MAJOR 132
Ben Cheng654325d2012-03-07 21:13:49 -0800163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800164#define SCSI_DISK13_MAJOR 133
165#define SCSI_DISK14_MAJOR 134
166#define SCSI_DISK15_MAJOR 135
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800167#define UNIX98_PTY_MASTER_MAJOR 128
Ben Cheng654325d2012-03-07 21:13:49 -0800168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800169#define UNIX98_PTY_MAJOR_COUNT 8
170#define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR+UNIX98_PTY_MAJOR_COUNT)
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800171#define RTF_MAJOR 150
172#define RAW_MAJOR 162
Ben Cheng654325d2012-03-07 21:13:49 -0800173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800174#define USB_ACM_MAJOR 166
175#define USB_ACM_AUX_MAJOR 167
176#define USB_CHAR_MAJOR 180
Elliott Hughesc95eb572013-01-29 18:15:55 -0800177#define VXVM_MAJOR 199
Ben Cheng654325d2012-03-07 21:13:49 -0800178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -0800179#define VXSPEC_MAJOR 200
180#define VXDMP_MAJOR 201
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800181#define MSR_MAJOR 202
182#define CPUID_MAJOR 203
Ben Cheng654325d2012-03-07 21:13:49 -0800183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -0800184#define OSST_MAJOR 206
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800185#define IBM_TTY3270_MAJOR 227
186#define IBM_FS3270_MAJOR 228
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800187#define VIOTAPE_MAJOR 230
Ben Cheng654325d2012-03-07 21:13:49 -0800188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -0800189#endif