]>
Commit | Line | Data |
---|---|---|
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 */ |
1da177e4 LT |
57 | #define CM206_CDROM_MAJOR 32 |
58 | #define IDE2_MAJOR 33 | |
59 | #define IDE3_MAJOR 34 | |
60 | #define Z8530_MAJOR 34 | |
61 | #define XPRAM_MAJOR 35 /* Expanded storage on S/390: "slow ram"*/ | |
62 | #define NETLINK_MAJOR 36 | |
63 | #define PS2ESDI_MAJOR 36 | |
64 | #define IDETAPE_MAJOR 37 | |
65 | #define Z2RAM_MAJOR 37 | |
66 | #define APBLOCK_MAJOR 38 /* AP1000 Block device */ | |
67 | #define DDV_MAJOR 39 /* AP1000 DDV block device */ | |
68 | #define NBD_MAJOR 43 /* Network block device */ | |
69 | #define RISCOM8_NORMAL_MAJOR 48 | |
70 | #define DAC960_MAJOR 48 /* 48..55 */ | |
71 | #define RISCOM8_CALLOUT_MAJOR 49 | |
72 | #define MKISS_MAJOR 55 | |
73 | #define DSP56K_MAJOR 55 /* DSP56001 processor device */ | |
74 | ||
75 | #define IDE4_MAJOR 56 | |
76 | #define IDE5_MAJOR 57 | |
77 | ||
78 | #define SCSI_DISK1_MAJOR 65 | |
79 | #define SCSI_DISK2_MAJOR 66 | |
80 | #define SCSI_DISK3_MAJOR 67 | |
81 | #define SCSI_DISK4_MAJOR 68 | |
82 | #define SCSI_DISK5_MAJOR 69 | |
83 | #define SCSI_DISK6_MAJOR 70 | |
84 | #define SCSI_DISK7_MAJOR 71 | |
85 | ||
86 | #define COMPAQ_SMART2_MAJOR 72 | |
87 | #define COMPAQ_SMART2_MAJOR1 73 | |
88 | #define COMPAQ_SMART2_MAJOR2 74 | |
89 | #define COMPAQ_SMART2_MAJOR3 75 | |
90 | #define COMPAQ_SMART2_MAJOR4 76 | |
91 | #define COMPAQ_SMART2_MAJOR5 77 | |
92 | #define COMPAQ_SMART2_MAJOR6 78 | |
93 | #define COMPAQ_SMART2_MAJOR7 79 | |
94 | ||
95 | #define SPECIALIX_NORMAL_MAJOR 75 | |
96 | #define SPECIALIX_CALLOUT_MAJOR 76 | |
97 | ||
98 | #define AURORA_MAJOR 79 | |
99 | ||
100 | #define I2O_MAJOR 80 /* 80->87 */ | |
101 | ||
102 | #define SHMIQ_MAJOR 85 /* Linux/mips, SGI /dev/shmiq */ | |
daa6eda6 | 103 | #define SCSI_CHANGER_MAJOR 86 |
1da177e4 LT |
104 | |
105 | #define IDE6_MAJOR 88 | |
106 | #define IDE7_MAJOR 89 | |
107 | #define IDE8_MAJOR 90 | |
108 | #define IDE9_MAJOR 91 | |
109 | ||
110 | #define DASD_MAJOR 94 | |
111 | ||
112 | #define MDISK_MAJOR 95 | |
113 | ||
114 | #define UBD_MAJOR 98 | |
115 | ||
e6a67846 | 116 | #define PP_MAJOR 99 |
1da177e4 LT |
117 | #define JSFD_MAJOR 99 |
118 | ||
119 | #define PHONE_MAJOR 100 | |
120 | ||
121 | #define COMPAQ_CISS_MAJOR 104 | |
122 | #define COMPAQ_CISS_MAJOR1 105 | |
123 | #define COMPAQ_CISS_MAJOR2 106 | |
124 | #define COMPAQ_CISS_MAJOR3 107 | |
125 | #define COMPAQ_CISS_MAJOR4 108 | |
126 | #define COMPAQ_CISS_MAJOR5 109 | |
127 | #define COMPAQ_CISS_MAJOR6 110 | |
128 | #define COMPAQ_CISS_MAJOR7 111 | |
129 | ||
130 | #define VIODASD_MAJOR 112 | |
131 | #define VIOCD_MAJOR 113 | |
132 | ||
133 | #define ATARAID_MAJOR 114 | |
134 | ||
135 | #define SCSI_DISK8_MAJOR 128 | |
136 | #define SCSI_DISK9_MAJOR 129 | |
137 | #define SCSI_DISK10_MAJOR 130 | |
138 | #define SCSI_DISK11_MAJOR 131 | |
139 | #define SCSI_DISK12_MAJOR 132 | |
140 | #define SCSI_DISK13_MAJOR 133 | |
141 | #define SCSI_DISK14_MAJOR 134 | |
142 | #define SCSI_DISK15_MAJOR 135 | |
143 | ||
144 | #define UNIX98_PTY_MASTER_MAJOR 128 | |
145 | #define UNIX98_PTY_MAJOR_COUNT 8 | |
146 | #define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR+UNIX98_PTY_MAJOR_COUNT) | |
147 | ||
148 | #define RTF_MAJOR 150 | |
149 | #define RAW_MAJOR 162 | |
150 | ||
151 | #define USB_ACM_MAJOR 166 | |
152 | #define USB_ACM_AUX_MAJOR 167 | |
153 | #define USB_CHAR_MAJOR 180 | |
154 | ||
fe6b4c88 PO |
155 | #define MMC_BLOCK_MAJOR 179 |
156 | ||
1da177e4 LT |
157 | #define VXVM_MAJOR 199 /* VERITAS volume i/o driver */ |
158 | #define VXSPEC_MAJOR 200 /* VERITAS volume config driver */ | |
159 | #define VXDMP_MAJOR 201 /* VERITAS volume multipath driver */ | |
160 | ||
9f27ee59 JF |
161 | #define XENVBD_MAJOR 202 /* Xen virtual block device */ |
162 | ||
1da177e4 LT |
163 | #define MSR_MAJOR 202 |
164 | #define CPUID_MAJOR 203 | |
165 | ||
166 | #define OSST_MAJOR 206 /* OnStream-SCx0 SCSI tape */ | |
167 | ||
168 | #define IBM_TTY3270_MAJOR 227 | |
169 | #define IBM_FS3270_MAJOR 228 | |
170 | ||
171 | #define VIOTAPE_MAJOR 230 | |
172 | ||
bcce3de1 TH |
173 | #define BLOCK_EXT_MAJOR 259 |
174 | ||
1da177e4 | 175 | #endif |