]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/uapi/linux/major.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[mirror_ubuntu-bionic-kernel.git] / include / uapi / linux / major.h
CommitLineData
1da177e4
LT
1#ifndef _LINUX_MAJOR_H
2#define _LINUX_MAJOR_H
3
4/*
5 * This file has definitions for major device numbers.
6 * For the device number assignments, see Documentation/devices.txt.
7 */
8
9#define UNNAMED_MAJOR 0
10#define MEM_MAJOR 1
11#define RAMDISK_MAJOR 1
12#define FLOPPY_MAJOR 2
13#define PTY_MASTER_MAJOR 2
14#define IDE0_MAJOR 3
15#define HD_MAJOR IDE0_MAJOR
16#define PTY_SLAVE_MAJOR 3
17#define TTY_MAJOR 4
18#define TTYAUX_MAJOR 5
19#define LP_MAJOR 6
20#define VCS_MAJOR 7
21#define LOOP_MAJOR 7
22#define SCSI_DISK0_MAJOR 8
23#define SCSI_TAPE_MAJOR 9
24#define MD_MAJOR 9
25#define MISC_MAJOR 10
26#define SCSI_CDROM_MAJOR 11
27#define MUX_MAJOR 11 /* PA-RISC only */
28#define XT_DISK_MAJOR 13
29#define INPUT_MAJOR 13
30#define SOUND_MAJOR 14
31#define CDU31A_CDROM_MAJOR 15
32#define JOYSTICK_MAJOR 15
33#define GOLDSTAR_CDROM_MAJOR 16
34#define OPTICS_CDROM_MAJOR 17
35#define SANYO_CDROM_MAJOR 18
36#define CYCLADES_MAJOR 19
37#define CYCLADESAUX_MAJOR 20
38#define MITSUMI_X_CDROM_MAJOR 20
39#define MFM_ACORN_MAJOR 21 /* ARM Linux /dev/mfm */
40#define SCSI_GENERIC_MAJOR 21
41#define IDE1_MAJOR 22
42#define DIGICU_MAJOR 22
43#define DIGI_MAJOR 23
44#define MITSUMI_CDROM_MAJOR 23
45#define CDU535_CDROM_MAJOR 24
46#define STL_SERIALMAJOR 24
47#define MATSUSHITA_CDROM_MAJOR 25
48#define STL_CALLOUTMAJOR 25
49#define MATSUSHITA_CDROM2_MAJOR 26
50#define QIC117_TAPE_MAJOR 27
51#define MATSUSHITA_CDROM3_MAJOR 27
52#define MATSUSHITA_CDROM4_MAJOR 28
53#define STL_SIOMEMMAJOR 28
54#define ACSI_MAJOR 28
55#define AZTECH_CDROM_MAJOR 29
5bb49fcd 56#define FB_MAJOR 29 /* /dev/fb* framebuffers */
f83c3838 57#define MTD_BLOCK_MAJOR 31
1da177e4
LT
58#define CM206_CDROM_MAJOR 32
59#define IDE2_MAJOR 33
60#define IDE3_MAJOR 34
61#define Z8530_MAJOR 34
62#define XPRAM_MAJOR 35 /* Expanded storage on S/390: "slow ram"*/
63#define NETLINK_MAJOR 36
64#define PS2ESDI_MAJOR 36
65#define IDETAPE_MAJOR 37
66#define Z2RAM_MAJOR 37
67#define APBLOCK_MAJOR 38 /* AP1000 Block device */
68#define DDV_MAJOR 39 /* AP1000 DDV block device */
69#define NBD_MAJOR 43 /* Network block device */
70#define RISCOM8_NORMAL_MAJOR 48
71#define DAC960_MAJOR 48 /* 48..55 */
72#define RISCOM8_CALLOUT_MAJOR 49
73#define MKISS_MAJOR 55
74#define DSP56K_MAJOR 55 /* DSP56001 processor device */
75
76#define IDE4_MAJOR 56
77#define IDE5_MAJOR 57
78
79#define SCSI_DISK1_MAJOR 65
80#define SCSI_DISK2_MAJOR 66
81#define SCSI_DISK3_MAJOR 67
82#define SCSI_DISK4_MAJOR 68
83#define SCSI_DISK5_MAJOR 69
84#define SCSI_DISK6_MAJOR 70
85#define SCSI_DISK7_MAJOR 71
86
87#define COMPAQ_SMART2_MAJOR 72
88#define COMPAQ_SMART2_MAJOR1 73
89#define COMPAQ_SMART2_MAJOR2 74
90#define COMPAQ_SMART2_MAJOR3 75
91#define COMPAQ_SMART2_MAJOR4 76
92#define COMPAQ_SMART2_MAJOR5 77
93#define COMPAQ_SMART2_MAJOR6 78
94#define COMPAQ_SMART2_MAJOR7 79
95
96#define SPECIALIX_NORMAL_MAJOR 75
97#define SPECIALIX_CALLOUT_MAJOR 76
98
99#define AURORA_MAJOR 79
100
101#define I2O_MAJOR 80 /* 80->87 */
102
103#define SHMIQ_MAJOR 85 /* Linux/mips, SGI /dev/shmiq */
daa6eda6 104#define SCSI_CHANGER_MAJOR 86
1da177e4
LT
105
106#define IDE6_MAJOR 88
107#define IDE7_MAJOR 89
108#define IDE8_MAJOR 90
f83c3838 109#define MTD_CHAR_MAJOR 90
1da177e4
LT
110#define IDE9_MAJOR 91
111
112#define DASD_MAJOR 94
113
114#define MDISK_MAJOR 95
115
116#define UBD_MAJOR 98
117
e6a67846 118#define PP_MAJOR 99
1da177e4
LT
119#define JSFD_MAJOR 99
120
121#define PHONE_MAJOR 100
122
123#define COMPAQ_CISS_MAJOR 104
124#define COMPAQ_CISS_MAJOR1 105
125#define COMPAQ_CISS_MAJOR2 106
126#define COMPAQ_CISS_MAJOR3 107
127#define COMPAQ_CISS_MAJOR4 108
128#define COMPAQ_CISS_MAJOR5 109
129#define COMPAQ_CISS_MAJOR6 110
130#define COMPAQ_CISS_MAJOR7 111
131
132#define VIODASD_MAJOR 112
133#define VIOCD_MAJOR 113
134
135#define ATARAID_MAJOR 114
136
137#define SCSI_DISK8_MAJOR 128
138#define SCSI_DISK9_MAJOR 129
139#define SCSI_DISK10_MAJOR 130
140#define SCSI_DISK11_MAJOR 131
141#define SCSI_DISK12_MAJOR 132
142#define SCSI_DISK13_MAJOR 133
143#define SCSI_DISK14_MAJOR 134
144#define SCSI_DISK15_MAJOR 135
145
146#define UNIX98_PTY_MASTER_MAJOR 128
147#define UNIX98_PTY_MAJOR_COUNT 8
148#define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR+UNIX98_PTY_MAJOR_COUNT)
149
10fc89d0 150#define DRBD_MAJOR 147
1da177e4
LT
151#define RTF_MAJOR 150
152#define RAW_MAJOR 162
153
154#define USB_ACM_MAJOR 166
155#define USB_ACM_AUX_MAJOR 167
156#define USB_CHAR_MAJOR 180
157
fe6b4c88
PO
158#define MMC_BLOCK_MAJOR 179
159
1da177e4
LT
160#define VXVM_MAJOR 199 /* VERITAS volume i/o driver */
161#define VXSPEC_MAJOR 200 /* VERITAS volume config driver */
162#define VXDMP_MAJOR 201 /* VERITAS volume multipath driver */
163
9f27ee59
JF
164#define XENVBD_MAJOR 202 /* Xen virtual block device */
165
1da177e4
LT
166#define MSR_MAJOR 202
167#define CPUID_MAJOR 203
168
169#define OSST_MAJOR 206 /* OnStream-SCx0 SCSI tape */
170
171#define IBM_TTY3270_MAJOR 227
172#define IBM_FS3270_MAJOR 228
173
174#define VIOTAPE_MAJOR 230
175
bcce3de1 176#define BLOCK_EXT_MAJOR 259
71969fd9 177#define SCSI_OSD_MAJOR 260 /* open-osd's OSD scsi device */
bcce3de1 178
1da177e4 179#endif