blob: f5e2cfb87a261738f184afb59f855c0ccd80692c [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
Ben Cheng655a7c02013-10-16 16:09:24 -070023#define RAMDISK_MAJOR 1
24#define FLOPPY_MAJOR 2
25#define PTY_MASTER_MAJOR 2
26#define IDE0_MAJOR 3
Ben Cheng655a7c02013-10-16 16:09:24 -070027#define HD_MAJOR IDE0_MAJOR
28#define PTY_SLAVE_MAJOR 3
29#define TTY_MAJOR 4
30#define TTYAUX_MAJOR 5
Ben Cheng655a7c02013-10-16 16:09:24 -070031#define LP_MAJOR 6
32#define VCS_MAJOR 7
33#define LOOP_MAJOR 7
34#define SCSI_DISK0_MAJOR 8
Ben Cheng655a7c02013-10-16 16:09:24 -070035#define SCSI_TAPE_MAJOR 9
36#define MD_MAJOR 9
37#define MISC_MAJOR 10
38#define SCSI_CDROM_MAJOR 11
Ben Cheng655a7c02013-10-16 16:09:24 -070039#define MUX_MAJOR 11
40#define XT_DISK_MAJOR 13
41#define INPUT_MAJOR 13
42#define SOUND_MAJOR 14
Ben Cheng655a7c02013-10-16 16:09:24 -070043#define CDU31A_CDROM_MAJOR 15
44#define JOYSTICK_MAJOR 15
45#define GOLDSTAR_CDROM_MAJOR 16
46#define OPTICS_CDROM_MAJOR 17
Ben Cheng655a7c02013-10-16 16:09:24 -070047#define SANYO_CDROM_MAJOR 18
Ben Cheng655a7c02013-10-16 16:09:24 -070048#define MITSUMI_X_CDROM_MAJOR 20
Ben Cheng655a7c02013-10-16 16:09:24 -070049#define MFM_ACORN_MAJOR 21
50#define SCSI_GENERIC_MAJOR 21
51#define IDE1_MAJOR 22
52#define DIGICU_MAJOR 22
Ben Cheng655a7c02013-10-16 16:09:24 -070053#define DIGI_MAJOR 23
54#define MITSUMI_CDROM_MAJOR 23
55#define CDU535_CDROM_MAJOR 24
56#define STL_SERIALMAJOR 24
Ben Cheng655a7c02013-10-16 16:09:24 -070057#define MATSUSHITA_CDROM_MAJOR 25
58#define STL_CALLOUTMAJOR 25
59#define MATSUSHITA_CDROM2_MAJOR 26
60#define QIC117_TAPE_MAJOR 27
Ben Cheng655a7c02013-10-16 16:09:24 -070061#define MATSUSHITA_CDROM3_MAJOR 27
62#define MATSUSHITA_CDROM4_MAJOR 28
63#define STL_SIOMEMMAJOR 28
64#define ACSI_MAJOR 28
Ben Cheng655a7c02013-10-16 16:09:24 -070065#define AZTECH_CDROM_MAJOR 29
66#define FB_MAJOR 29
Christopher Ferris38062f92014-07-09 15:33:25 -070067#define MTD_BLOCK_MAJOR 31
Ben Cheng655a7c02013-10-16 16:09:24 -070068#define CM206_CDROM_MAJOR 32
Christopher Ferris38062f92014-07-09 15:33:25 -070069#define IDE2_MAJOR 33
Ben Cheng655a7c02013-10-16 16:09:24 -070070#define IDE3_MAJOR 34
71#define Z8530_MAJOR 34
72#define XPRAM_MAJOR 35
Christopher Ferris38062f92014-07-09 15:33:25 -070073#define NETLINK_MAJOR 36
Ben Cheng655a7c02013-10-16 16:09:24 -070074#define PS2ESDI_MAJOR 36
75#define IDETAPE_MAJOR 37
76#define Z2RAM_MAJOR 37
Christopher Ferris38062f92014-07-09 15:33:25 -070077#define APBLOCK_MAJOR 38
Ben Cheng655a7c02013-10-16 16:09:24 -070078#define DDV_MAJOR 39
79#define NBD_MAJOR 43
80#define RISCOM8_NORMAL_MAJOR 48
Christopher Ferris38062f92014-07-09 15:33:25 -070081#define DAC960_MAJOR 48
Ben Cheng655a7c02013-10-16 16:09:24 -070082#define RISCOM8_CALLOUT_MAJOR 49
83#define MKISS_MAJOR 55
84#define DSP56K_MAJOR 55
Christopher Ferris38062f92014-07-09 15:33:25 -070085#define IDE4_MAJOR 56
Ben Cheng655a7c02013-10-16 16:09:24 -070086#define IDE5_MAJOR 57
87#define SCSI_DISK1_MAJOR 65
88#define SCSI_DISK2_MAJOR 66
Christopher Ferris38062f92014-07-09 15:33:25 -070089#define SCSI_DISK3_MAJOR 67
Ben Cheng655a7c02013-10-16 16:09:24 -070090#define SCSI_DISK4_MAJOR 68
91#define SCSI_DISK5_MAJOR 69
92#define SCSI_DISK6_MAJOR 70
Christopher Ferris38062f92014-07-09 15:33:25 -070093#define SCSI_DISK7_MAJOR 71
Ben Cheng655a7c02013-10-16 16:09:24 -070094#define COMPAQ_SMART2_MAJOR 72
95#define COMPAQ_SMART2_MAJOR1 73
96#define COMPAQ_SMART2_MAJOR2 74
Christopher Ferris38062f92014-07-09 15:33:25 -070097#define COMPAQ_SMART2_MAJOR3 75
Ben Cheng655a7c02013-10-16 16:09:24 -070098#define COMPAQ_SMART2_MAJOR4 76
99#define COMPAQ_SMART2_MAJOR5 77
100#define COMPAQ_SMART2_MAJOR6 78
Christopher Ferris38062f92014-07-09 15:33:25 -0700101#define COMPAQ_SMART2_MAJOR7 79
Ben Cheng655a7c02013-10-16 16:09:24 -0700102#define SPECIALIX_NORMAL_MAJOR 75
103#define SPECIALIX_CALLOUT_MAJOR 76
104#define AURORA_MAJOR 79
Christopher Ferris38062f92014-07-09 15:33:25 -0700105#define I2O_MAJOR 80
Ben Cheng655a7c02013-10-16 16:09:24 -0700106#define SHMIQ_MAJOR 85
107#define SCSI_CHANGER_MAJOR 86
108#define IDE6_MAJOR 88
Christopher Ferris38062f92014-07-09 15:33:25 -0700109#define IDE7_MAJOR 89
Ben Cheng655a7c02013-10-16 16:09:24 -0700110#define IDE8_MAJOR 90
Christopher Ferris38062f92014-07-09 15:33:25 -0700111#define MTD_CHAR_MAJOR 90
Ben Cheng655a7c02013-10-16 16:09:24 -0700112#define IDE9_MAJOR 91
113#define DASD_MAJOR 94
114#define MDISK_MAJOR 95
Ben Cheng655a7c02013-10-16 16:09:24 -0700115#define UBD_MAJOR 98
116#define PP_MAJOR 99
117#define JSFD_MAJOR 99
118#define PHONE_MAJOR 100
Ben Cheng655a7c02013-10-16 16:09:24 -0700119#define COMPAQ_CISS_MAJOR 104
120#define COMPAQ_CISS_MAJOR1 105
121#define COMPAQ_CISS_MAJOR2 106
122#define COMPAQ_CISS_MAJOR3 107
Ben Cheng655a7c02013-10-16 16:09:24 -0700123#define COMPAQ_CISS_MAJOR4 108
124#define COMPAQ_CISS_MAJOR5 109
125#define COMPAQ_CISS_MAJOR6 110
126#define COMPAQ_CISS_MAJOR7 111
Ben Cheng655a7c02013-10-16 16:09:24 -0700127#define VIODASD_MAJOR 112
128#define VIOCD_MAJOR 113
129#define ATARAID_MAJOR 114
130#define SCSI_DISK8_MAJOR 128
Ben Cheng655a7c02013-10-16 16:09:24 -0700131#define SCSI_DISK9_MAJOR 129
132#define SCSI_DISK10_MAJOR 130
133#define SCSI_DISK11_MAJOR 131
134#define SCSI_DISK12_MAJOR 132
Ben Cheng655a7c02013-10-16 16:09:24 -0700135#define SCSI_DISK13_MAJOR 133
136#define SCSI_DISK14_MAJOR 134
137#define SCSI_DISK15_MAJOR 135
138#define UNIX98_PTY_MASTER_MAJOR 128
Ben Cheng655a7c02013-10-16 16:09:24 -0700139#define UNIX98_PTY_MAJOR_COUNT 8
Tao Baod7db5942015-01-28 10:07:51 -0800140#define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR + UNIX98_PTY_MAJOR_COUNT)
Ben Cheng655a7c02013-10-16 16:09:24 -0700141#define DRBD_MAJOR 147
142#define RTF_MAJOR 150
Ben Cheng655a7c02013-10-16 16:09:24 -0700143#define RAW_MAJOR 162
144#define USB_ACM_MAJOR 166
145#define USB_ACM_AUX_MAJOR 167
146#define USB_CHAR_MAJOR 180
Ben Cheng655a7c02013-10-16 16:09:24 -0700147#define MMC_BLOCK_MAJOR 179
148#define VXVM_MAJOR 199
149#define VXSPEC_MAJOR 200
150#define VXDMP_MAJOR 201
Ben Cheng655a7c02013-10-16 16:09:24 -0700151#define XENVBD_MAJOR 202
152#define MSR_MAJOR 202
153#define CPUID_MAJOR 203
154#define OSST_MAJOR 206
Ben Cheng655a7c02013-10-16 16:09:24 -0700155#define IBM_TTY3270_MAJOR 227
156#define IBM_FS3270_MAJOR 228
157#define VIOTAPE_MAJOR 230
158#define BLOCK_EXT_MAJOR 259
Ben Cheng655a7c02013-10-16 16:09:24 -0700159#define SCSI_OSD_MAJOR 260
160#endif