blob: 24667ea3b8d0a8baca077a50825e3b23d104aaf7 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _LINUX_MAJOR_H
8#define _LINUX_MAJOR_H
9#define UNNAMED_MAJOR 0
10#define MEM_MAJOR 1
Ben Cheng655a7c02013-10-16 16:09:24 -070011#define RAMDISK_MAJOR 1
12#define FLOPPY_MAJOR 2
13#define PTY_MASTER_MAJOR 2
14#define IDE0_MAJOR 3
Ben Cheng655a7c02013-10-16 16:09:24 -070015#define HD_MAJOR IDE0_MAJOR
16#define PTY_SLAVE_MAJOR 3
17#define TTY_MAJOR 4
18#define TTYAUX_MAJOR 5
Ben Cheng655a7c02013-10-16 16:09:24 -070019#define LP_MAJOR 6
20#define VCS_MAJOR 7
21#define LOOP_MAJOR 7
22#define SCSI_DISK0_MAJOR 8
Ben Cheng655a7c02013-10-16 16:09:24 -070023#define SCSI_TAPE_MAJOR 9
24#define MD_MAJOR 9
25#define MISC_MAJOR 10
26#define SCSI_CDROM_MAJOR 11
Ben Cheng655a7c02013-10-16 16:09:24 -070027#define MUX_MAJOR 11
28#define XT_DISK_MAJOR 13
29#define INPUT_MAJOR 13
30#define SOUND_MAJOR 14
Ben Cheng655a7c02013-10-16 16:09:24 -070031#define CDU31A_CDROM_MAJOR 15
32#define JOYSTICK_MAJOR 15
33#define GOLDSTAR_CDROM_MAJOR 16
34#define OPTICS_CDROM_MAJOR 17
Ben Cheng655a7c02013-10-16 16:09:24 -070035#define SANYO_CDROM_MAJOR 18
Ben Cheng655a7c02013-10-16 16:09:24 -070036#define MITSUMI_X_CDROM_MAJOR 20
Ben Cheng655a7c02013-10-16 16:09:24 -070037#define MFM_ACORN_MAJOR 21
38#define SCSI_GENERIC_MAJOR 21
39#define IDE1_MAJOR 22
40#define DIGICU_MAJOR 22
Ben Cheng655a7c02013-10-16 16:09:24 -070041#define DIGI_MAJOR 23
42#define MITSUMI_CDROM_MAJOR 23
43#define CDU535_CDROM_MAJOR 24
44#define STL_SERIALMAJOR 24
Ben Cheng655a7c02013-10-16 16:09:24 -070045#define MATSUSHITA_CDROM_MAJOR 25
46#define STL_CALLOUTMAJOR 25
47#define MATSUSHITA_CDROM2_MAJOR 26
48#define QIC117_TAPE_MAJOR 27
Ben Cheng655a7c02013-10-16 16:09:24 -070049#define MATSUSHITA_CDROM3_MAJOR 27
50#define MATSUSHITA_CDROM4_MAJOR 28
51#define STL_SIOMEMMAJOR 28
52#define ACSI_MAJOR 28
Ben Cheng655a7c02013-10-16 16:09:24 -070053#define AZTECH_CDROM_MAJOR 29
54#define FB_MAJOR 29
Christopher Ferris38062f92014-07-09 15:33:25 -070055#define MTD_BLOCK_MAJOR 31
Ben Cheng655a7c02013-10-16 16:09:24 -070056#define CM206_CDROM_MAJOR 32
Christopher Ferris38062f92014-07-09 15:33:25 -070057#define IDE2_MAJOR 33
Ben Cheng655a7c02013-10-16 16:09:24 -070058#define IDE3_MAJOR 34
59#define Z8530_MAJOR 34
60#define XPRAM_MAJOR 35
Christopher Ferris38062f92014-07-09 15:33:25 -070061#define NETLINK_MAJOR 36
Ben Cheng655a7c02013-10-16 16:09:24 -070062#define PS2ESDI_MAJOR 36
63#define IDETAPE_MAJOR 37
64#define Z2RAM_MAJOR 37
Christopher Ferris38062f92014-07-09 15:33:25 -070065#define APBLOCK_MAJOR 38
Ben Cheng655a7c02013-10-16 16:09:24 -070066#define DDV_MAJOR 39
67#define NBD_MAJOR 43
68#define RISCOM8_NORMAL_MAJOR 48
Christopher Ferris38062f92014-07-09 15:33:25 -070069#define DAC960_MAJOR 48
Ben Cheng655a7c02013-10-16 16:09:24 -070070#define RISCOM8_CALLOUT_MAJOR 49
71#define MKISS_MAJOR 55
72#define DSP56K_MAJOR 55
Christopher Ferris38062f92014-07-09 15:33:25 -070073#define IDE4_MAJOR 56
Ben Cheng655a7c02013-10-16 16:09:24 -070074#define IDE5_MAJOR 57
75#define SCSI_DISK1_MAJOR 65
76#define SCSI_DISK2_MAJOR 66
Christopher Ferris38062f92014-07-09 15:33:25 -070077#define SCSI_DISK3_MAJOR 67
Ben Cheng655a7c02013-10-16 16:09:24 -070078#define SCSI_DISK4_MAJOR 68
79#define SCSI_DISK5_MAJOR 69
80#define SCSI_DISK6_MAJOR 70
Christopher Ferris38062f92014-07-09 15:33:25 -070081#define SCSI_DISK7_MAJOR 71
Ben Cheng655a7c02013-10-16 16:09:24 -070082#define COMPAQ_SMART2_MAJOR 72
83#define COMPAQ_SMART2_MAJOR1 73
84#define COMPAQ_SMART2_MAJOR2 74
Christopher Ferris38062f92014-07-09 15:33:25 -070085#define COMPAQ_SMART2_MAJOR3 75
Ben Cheng655a7c02013-10-16 16:09:24 -070086#define COMPAQ_SMART2_MAJOR4 76
87#define COMPAQ_SMART2_MAJOR5 77
88#define COMPAQ_SMART2_MAJOR6 78
Christopher Ferris38062f92014-07-09 15:33:25 -070089#define COMPAQ_SMART2_MAJOR7 79
Ben Cheng655a7c02013-10-16 16:09:24 -070090#define SPECIALIX_NORMAL_MAJOR 75
91#define SPECIALIX_CALLOUT_MAJOR 76
92#define AURORA_MAJOR 79
Christopher Ferris38062f92014-07-09 15:33:25 -070093#define I2O_MAJOR 80
Ben Cheng655a7c02013-10-16 16:09:24 -070094#define SHMIQ_MAJOR 85
95#define SCSI_CHANGER_MAJOR 86
96#define IDE6_MAJOR 88
Christopher Ferris38062f92014-07-09 15:33:25 -070097#define IDE7_MAJOR 89
Ben Cheng655a7c02013-10-16 16:09:24 -070098#define IDE8_MAJOR 90
Christopher Ferris38062f92014-07-09 15:33:25 -070099#define MTD_CHAR_MAJOR 90
Ben Cheng655a7c02013-10-16 16:09:24 -0700100#define IDE9_MAJOR 91
101#define DASD_MAJOR 94
102#define MDISK_MAJOR 95
Ben Cheng655a7c02013-10-16 16:09:24 -0700103#define UBD_MAJOR 98
104#define PP_MAJOR 99
105#define JSFD_MAJOR 99
106#define PHONE_MAJOR 100
Ben Cheng655a7c02013-10-16 16:09:24 -0700107#define COMPAQ_CISS_MAJOR 104
108#define COMPAQ_CISS_MAJOR1 105
109#define COMPAQ_CISS_MAJOR2 106
110#define COMPAQ_CISS_MAJOR3 107
Ben Cheng655a7c02013-10-16 16:09:24 -0700111#define COMPAQ_CISS_MAJOR4 108
112#define COMPAQ_CISS_MAJOR5 109
113#define COMPAQ_CISS_MAJOR6 110
114#define COMPAQ_CISS_MAJOR7 111
Ben Cheng655a7c02013-10-16 16:09:24 -0700115#define VIODASD_MAJOR 112
116#define VIOCD_MAJOR 113
117#define ATARAID_MAJOR 114
118#define SCSI_DISK8_MAJOR 128
Ben Cheng655a7c02013-10-16 16:09:24 -0700119#define SCSI_DISK9_MAJOR 129
120#define SCSI_DISK10_MAJOR 130
121#define SCSI_DISK11_MAJOR 131
122#define SCSI_DISK12_MAJOR 132
Ben Cheng655a7c02013-10-16 16:09:24 -0700123#define SCSI_DISK13_MAJOR 133
124#define SCSI_DISK14_MAJOR 134
125#define SCSI_DISK15_MAJOR 135
126#define UNIX98_PTY_MASTER_MAJOR 128
Ben Cheng655a7c02013-10-16 16:09:24 -0700127#define UNIX98_PTY_MAJOR_COUNT 8
Tao Baod7db5942015-01-28 10:07:51 -0800128#define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR + UNIX98_PTY_MAJOR_COUNT)
Ben Cheng655a7c02013-10-16 16:09:24 -0700129#define DRBD_MAJOR 147
130#define RTF_MAJOR 150
Ben Cheng655a7c02013-10-16 16:09:24 -0700131#define RAW_MAJOR 162
132#define USB_ACM_MAJOR 166
133#define USB_ACM_AUX_MAJOR 167
134#define USB_CHAR_MAJOR 180
Ben Cheng655a7c02013-10-16 16:09:24 -0700135#define MMC_BLOCK_MAJOR 179
136#define VXVM_MAJOR 199
137#define VXSPEC_MAJOR 200
138#define VXDMP_MAJOR 201
Ben Cheng655a7c02013-10-16 16:09:24 -0700139#define XENVBD_MAJOR 202
140#define MSR_MAJOR 202
141#define CPUID_MAJOR 203
142#define OSST_MAJOR 206
Ben Cheng655a7c02013-10-16 16:09:24 -0700143#define IBM_TTY3270_MAJOR 227
144#define IBM_FS3270_MAJOR 228
145#define VIOTAPE_MAJOR 230
146#define BLOCK_EXT_MAJOR 259
Ben Cheng655a7c02013-10-16 16:09:24 -0700147#define SCSI_OSD_MAJOR 260
148#endif