Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


major.h
001: #ifndef _LINUX_MAJOR_H
002: #define _LINUX_MAJOR_H
003: 
004: /*
005:  * This file has definitions for major device numbers.
006:  * For the device number assignments, see Documentation/devices.txt.
007:  */
008: 
009: #define UNNAMED_MAJOR           0
010: #define MEM_MAJOR               1
011: #define RAMDISK_MAJOR           1
012: #define FLOPPY_MAJOR            2
013: #define PTY_MASTER_MAJOR        2
014: #define IDE0_MAJOR              3
015: #define HD_MAJOR                IDE0_MAJOR
016: #define PTY_SLAVE_MAJOR         3
017: #define TTY_MAJOR               4
018: #define TTYAUX_MAJOR            5
019: #define LP_MAJOR                6
020: #define VCS_MAJOR               7
021: #define LOOP_MAJOR              7
022: #define SCSI_DISK0_MAJOR        8
023: #define SCSI_TAPE_MAJOR         9
024: #define MD_MAJOR                9
025: #define MISC_MAJOR              10
026: #define SCSI_CDROM_MAJOR        11
027: #define MUX_MAJOR               11      /* PA-RISC only */
028: #define XT_DISK_MAJOR           13
029: #define INPUT_MAJOR             13
030: #define SOUND_MAJOR             14
031: #define CDU31A_CDROM_MAJOR      15
032: #define JOYSTICK_MAJOR          15
033: #define GOLDSTAR_CDROM_MAJOR    16
034: #define OPTICS_CDROM_MAJOR      17
035: #define SANYO_CDROM_MAJOR       18
036: #define CYCLADES_MAJOR          19
037: #define CYCLADESAUX_MAJOR       20
038: #define MITSUMI_X_CDROM_MAJOR   20
039: #define MFM_ACORN_MAJOR         21      /* ARM Linux /dev/mfm */
040: #define SCSI_GENERIC_MAJOR      21
041: #define IDE1_MAJOR              22
042: #define DIGICU_MAJOR            22
043: #define DIGI_MAJOR              23
044: #define MITSUMI_CDROM_MAJOR     23
045: #define CDU535_CDROM_MAJOR      24
046: #define STL_SERIALMAJOR         24
047: #define MATSUSHITA_CDROM_MAJOR  25
048: #define STL_CALLOUTMAJOR        25
049: #define MATSUSHITA_CDROM2_MAJOR 26
050: #define QIC117_TAPE_MAJOR       27
051: #define MATSUSHITA_CDROM3_MAJOR 27
052: #define MATSUSHITA_CDROM4_MAJOR 28
053: #define STL_SIOMEMMAJOR         28
054: #define ACSI_MAJOR              28
055: #define AZTECH_CDROM_MAJOR      29
056: #define FB_MAJOR                29   /* /dev/fb* framebuffers */
057: #define CM206_CDROM_MAJOR       32
058: #define IDE2_MAJOR              33
059: #define IDE3_MAJOR              34
060: #define Z8530_MAJOR             34
061: #define XPRAM_MAJOR             35   /* Expanded storage on S/390: "slow ram"*/
062: #define NETLINK_MAJOR           36
063: #define PS2ESDI_MAJOR           36
064: #define IDETAPE_MAJOR           37
065: #define Z2RAM_MAJOR             37
066: #define APBLOCK_MAJOR           38   /* AP1000 Block device */
067: #define DDV_MAJOR               39   /* AP1000 DDV block device */
068: #define NBD_MAJOR               43   /* Network block device    */
069: #define RISCOM8_NORMAL_MAJOR    48
070: #define DAC960_MAJOR            48   /* 48..55 */
071: #define RISCOM8_CALLOUT_MAJOR   49
072: #define MKISS_MAJOR             55
073: #define DSP56K_MAJOR            55   /* DSP56001 processor device */
074: 
075: #define IDE4_MAJOR              56
076: #define IDE5_MAJOR              57
077: 
078: #define SCSI_DISK1_MAJOR        65
079: #define SCSI_DISK2_MAJOR        66
080: #define SCSI_DISK3_MAJOR        67
081: #define SCSI_DISK4_MAJOR        68
082: #define SCSI_DISK5_MAJOR        69
083: #define SCSI_DISK6_MAJOR        70
084: #define SCSI_DISK7_MAJOR        71
085: 
086: #define COMPAQ_SMART2_MAJOR     72
087: #define COMPAQ_SMART2_MAJOR1    73
088: #define COMPAQ_SMART2_MAJOR2    74
089: #define COMPAQ_SMART2_MAJOR3    75
090: #define COMPAQ_SMART2_MAJOR4    76
091: #define COMPAQ_SMART2_MAJOR5    77
092: #define COMPAQ_SMART2_MAJOR6    78
093: #define COMPAQ_SMART2_MAJOR7    79
094: 
095: #define SPECIALIX_NORMAL_MAJOR  75
096: #define SPECIALIX_CALLOUT_MAJOR 76
097: 
098: #define AURORA_MAJOR            79
099: 
100: #define I2O_MAJOR               80      /* 80->87 */
101: 
102: #define SHMIQ_MAJOR             85   /* Linux/mips, SGI /dev/shmiq */
103: #define SCSI_CHANGER_MAJOR      86
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: 
116: #define PP_MAJOR                99
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 DRBD_MAJOR              147
149: #define RTF_MAJOR               150
150: #define RAW_MAJOR               162
151: 
152: #define USB_ACM_MAJOR           166
153: #define USB_ACM_AUX_MAJOR       167
154: #define USB_CHAR_MAJOR          180
155: 
156: #define MMC_BLOCK_MAJOR         179
157: 
158: #define VXVM_MAJOR              199     /* VERITAS volume i/o driver    */
159: #define VXSPEC_MAJOR            200     /* VERITAS volume config driver */
160: #define VXDMP_MAJOR             201     /* VERITAS volume multipath driver */
161: 
162: #define XENVBD_MAJOR            202     /* Xen virtual block device */
163: 
164: #define MSR_MAJOR               202
165: #define CPUID_MAJOR             203
166: 
167: #define OSST_MAJOR              206     /* OnStream-SCx0 SCSI tape */
168: 
169: #define IBM_TTY3270_MAJOR       227
170: #define IBM_FS3270_MAJOR        228
171: 
172: #define VIOTAPE_MAJOR           230
173: 
174: #define BLOCK_EXT_MAJOR         259
175: #define SCSI_OSD_MAJOR          260     /* open-osd's OSD scsi device */
176: 
177: #endif
178: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/