aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/major.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/linux/major.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'include/linux/major.h')
-rw-r--r--include/linux/major.h167
1 files changed, 167 insertions, 0 deletions
diff --git a/include/linux/major.h b/include/linux/major.h
new file mode 100644
index 000000000000..4b62c42b842c
--- /dev/null
+++ b/include/linux/major.h
@@ -0,0 +1,167 @@
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
56#define GRAPHDEV_MAJOR 29 /* SparcLinux & Linux/68k /dev/fb */
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 */
103
104#define IDE6_MAJOR 88
105#define IDE7_MAJOR 89
106#define IDE8_MAJOR 90
107#define IDE9_MAJOR 91
108
109#define DASD_MAJOR 94
110
111#define MDISK_MAJOR 95
112
113#define UBD_MAJOR 98
114
115#define JSFD_MAJOR 99
116
117#define PHONE_MAJOR 100
118
119#define COMPAQ_CISS_MAJOR 104
120#define COMPAQ_CISS_MAJOR1 105
121#define COMPAQ_CISS_MAJOR2 106
122#define COMPAQ_CISS_MAJOR3 107
123#define COMPAQ_CISS_MAJOR4 108
124#define COMPAQ_CISS_MAJOR5 109
125#define COMPAQ_CISS_MAJOR6 110
126#define COMPAQ_CISS_MAJOR7 111
127
128#define VIODASD_MAJOR 112
129#define VIOCD_MAJOR 113
130
131#define ATARAID_MAJOR 114
132
133#define SCSI_DISK8_MAJOR 128
134#define SCSI_DISK9_MAJOR 129
135#define SCSI_DISK10_MAJOR 130
136#define SCSI_DISK11_MAJOR 131
137#define SCSI_DISK12_MAJOR 132
138#define SCSI_DISK13_MAJOR 133
139#define SCSI_DISK14_MAJOR 134
140#define SCSI_DISK15_MAJOR 135
141
142#define UNIX98_PTY_MASTER_MAJOR 128
143#define UNIX98_PTY_MAJOR_COUNT 8
144#define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR+UNIX98_PTY_MAJOR_COUNT)
145
146#define RTF_MAJOR 150
147#define RAW_MAJOR 162
148
149#define USB_ACM_MAJOR 166
150#define USB_ACM_AUX_MAJOR 167
151#define USB_CHAR_MAJOR 180
152
153#define VXVM_MAJOR 199 /* VERITAS volume i/o driver */
154#define VXSPEC_MAJOR 200 /* VERITAS volume config driver */
155#define VXDMP_MAJOR 201 /* VERITAS volume multipath driver */
156
157#define MSR_MAJOR 202
158#define CPUID_MAJOR 203
159
160#define OSST_MAJOR 206 /* OnStream-SCx0 SCSI tape */
161
162#define IBM_TTY3270_MAJOR 227
163#define IBM_FS3270_MAJOR 228
164
165#define VIOTAPE_MAJOR 230
166
167#endif