blob: 7768d7b8a4a802cdcf5b1bc631eda512aded1470 [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
48#define CYCLADES_MAJOR 19
49#define CYCLADESAUX_MAJOR 20
50#define MITSUMI_X_CDROM_MAJOR 20
Ben Cheng655a7c02013-10-16 16:09:24 -070051#define MFM_ACORN_MAJOR 21
52#define SCSI_GENERIC_MAJOR 21
53#define IDE1_MAJOR 22
54#define DIGICU_MAJOR 22
Ben Cheng655a7c02013-10-16 16:09:24 -070055#define DIGI_MAJOR 23
56#define MITSUMI_CDROM_MAJOR 23
57#define CDU535_CDROM_MAJOR 24
58#define STL_SERIALMAJOR 24
Ben Cheng655a7c02013-10-16 16:09:24 -070059#define MATSUSHITA_CDROM_MAJOR 25
60#define STL_CALLOUTMAJOR 25
61#define MATSUSHITA_CDROM2_MAJOR 26
62#define QIC117_TAPE_MAJOR 27
Ben Cheng655a7c02013-10-16 16:09:24 -070063#define MATSUSHITA_CDROM3_MAJOR 27
64#define MATSUSHITA_CDROM4_MAJOR 28
65#define STL_SIOMEMMAJOR 28
66#define ACSI_MAJOR 28
Ben Cheng655a7c02013-10-16 16:09:24 -070067#define AZTECH_CDROM_MAJOR 29
68#define FB_MAJOR 29
Christopher Ferris38062f92014-07-09 15:33:25 -070069#define MTD_BLOCK_MAJOR 31
Ben Cheng655a7c02013-10-16 16:09:24 -070070#define CM206_CDROM_MAJOR 32
Christopher Ferris38062f92014-07-09 15:33:25 -070071#define IDE2_MAJOR 33
Ben Cheng655a7c02013-10-16 16:09:24 -070072#define IDE3_MAJOR 34
73#define Z8530_MAJOR 34
74#define XPRAM_MAJOR 35
Christopher Ferris38062f92014-07-09 15:33:25 -070075#define NETLINK_MAJOR 36
Ben Cheng655a7c02013-10-16 16:09:24 -070076#define PS2ESDI_MAJOR 36
77#define IDETAPE_MAJOR 37
78#define Z2RAM_MAJOR 37
Christopher Ferris38062f92014-07-09 15:33:25 -070079#define APBLOCK_MAJOR 38
Ben Cheng655a7c02013-10-16 16:09:24 -070080#define DDV_MAJOR 39
81#define NBD_MAJOR 43
82#define RISCOM8_NORMAL_MAJOR 48
Christopher Ferris38062f92014-07-09 15:33:25 -070083#define DAC960_MAJOR 48
Ben Cheng655a7c02013-10-16 16:09:24 -070084#define RISCOM8_CALLOUT_MAJOR 49
85#define MKISS_MAJOR 55
86#define DSP56K_MAJOR 55
Christopher Ferris38062f92014-07-09 15:33:25 -070087#define IDE4_MAJOR 56
Ben Cheng655a7c02013-10-16 16:09:24 -070088#define IDE5_MAJOR 57
89#define SCSI_DISK1_MAJOR 65
90#define SCSI_DISK2_MAJOR 66
Christopher Ferris38062f92014-07-09 15:33:25 -070091#define SCSI_DISK3_MAJOR 67
Ben Cheng655a7c02013-10-16 16:09:24 -070092#define SCSI_DISK4_MAJOR 68
93#define SCSI_DISK5_MAJOR 69
94#define SCSI_DISK6_MAJOR 70
Christopher Ferris38062f92014-07-09 15:33:25 -070095#define SCSI_DISK7_MAJOR 71
Ben Cheng655a7c02013-10-16 16:09:24 -070096#define COMPAQ_SMART2_MAJOR 72
97#define COMPAQ_SMART2_MAJOR1 73
98#define COMPAQ_SMART2_MAJOR2 74
Christopher Ferris38062f92014-07-09 15:33:25 -070099#define COMPAQ_SMART2_MAJOR3 75
Ben Cheng655a7c02013-10-16 16:09:24 -0700100#define COMPAQ_SMART2_MAJOR4 76
101#define COMPAQ_SMART2_MAJOR5 77
102#define COMPAQ_SMART2_MAJOR6 78
Christopher Ferris38062f92014-07-09 15:33:25 -0700103#define COMPAQ_SMART2_MAJOR7 79
Ben Cheng655a7c02013-10-16 16:09:24 -0700104#define SPECIALIX_NORMAL_MAJOR 75
105#define SPECIALIX_CALLOUT_MAJOR 76
106#define AURORA_MAJOR 79
Christopher Ferris38062f92014-07-09 15:33:25 -0700107#define I2O_MAJOR 80
Ben Cheng655a7c02013-10-16 16:09:24 -0700108#define SHMIQ_MAJOR 85
109#define SCSI_CHANGER_MAJOR 86
110#define IDE6_MAJOR 88
Christopher Ferris38062f92014-07-09 15:33:25 -0700111#define IDE7_MAJOR 89
Ben Cheng655a7c02013-10-16 16:09:24 -0700112#define IDE8_MAJOR 90
Christopher Ferris38062f92014-07-09 15:33:25 -0700113#define MTD_CHAR_MAJOR 90
Ben Cheng655a7c02013-10-16 16:09:24 -0700114#define IDE9_MAJOR 91
115#define DASD_MAJOR 94
116#define MDISK_MAJOR 95
Ben Cheng655a7c02013-10-16 16:09:24 -0700117#define UBD_MAJOR 98
118#define PP_MAJOR 99
119#define JSFD_MAJOR 99
120#define PHONE_MAJOR 100
Ben Cheng655a7c02013-10-16 16:09:24 -0700121#define COMPAQ_CISS_MAJOR 104
122#define COMPAQ_CISS_MAJOR1 105
123#define COMPAQ_CISS_MAJOR2 106
124#define COMPAQ_CISS_MAJOR3 107
Ben Cheng655a7c02013-10-16 16:09:24 -0700125#define COMPAQ_CISS_MAJOR4 108
126#define COMPAQ_CISS_MAJOR5 109
127#define COMPAQ_CISS_MAJOR6 110
128#define COMPAQ_CISS_MAJOR7 111
Ben Cheng655a7c02013-10-16 16:09:24 -0700129#define VIODASD_MAJOR 112
130#define VIOCD_MAJOR 113
131#define ATARAID_MAJOR 114
132#define SCSI_DISK8_MAJOR 128
Ben Cheng655a7c02013-10-16 16:09:24 -0700133#define SCSI_DISK9_MAJOR 129
134#define SCSI_DISK10_MAJOR 130
135#define SCSI_DISK11_MAJOR 131
136#define SCSI_DISK12_MAJOR 132
Ben Cheng655a7c02013-10-16 16:09:24 -0700137#define SCSI_DISK13_MAJOR 133
138#define SCSI_DISK14_MAJOR 134
139#define SCSI_DISK15_MAJOR 135
140#define UNIX98_PTY_MASTER_MAJOR 128
Ben Cheng655a7c02013-10-16 16:09:24 -0700141#define UNIX98_PTY_MAJOR_COUNT 8
Tao Baod7db5942015-01-28 10:07:51 -0800142#define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR + UNIX98_PTY_MAJOR_COUNT)
Ben Cheng655a7c02013-10-16 16:09:24 -0700143#define DRBD_MAJOR 147
144#define RTF_MAJOR 150
Ben Cheng655a7c02013-10-16 16:09:24 -0700145#define RAW_MAJOR 162
146#define USB_ACM_MAJOR 166
147#define USB_ACM_AUX_MAJOR 167
148#define USB_CHAR_MAJOR 180
Ben Cheng655a7c02013-10-16 16:09:24 -0700149#define MMC_BLOCK_MAJOR 179
150#define VXVM_MAJOR 199
151#define VXSPEC_MAJOR 200
152#define VXDMP_MAJOR 201
Ben Cheng655a7c02013-10-16 16:09:24 -0700153#define XENVBD_MAJOR 202
154#define MSR_MAJOR 202
155#define CPUID_MAJOR 203
156#define OSST_MAJOR 206
Ben Cheng655a7c02013-10-16 16:09:24 -0700157#define IBM_TTY3270_MAJOR 227
158#define IBM_FS3270_MAJOR 228
159#define VIOTAPE_MAJOR 230
160#define BLOCK_EXT_MAJOR 259
Ben Cheng655a7c02013-10-16 16:09:24 -0700161#define SCSI_OSD_MAJOR 260
162#endif