Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef _LINUX_MAJOR_H
0003 #define _LINUX_MAJOR_H
0004 
0005 /*
0006  * This file has definitions for major device numbers.
0007  * For the device number assignments, see Documentation/admin-guide/devices.rst.
0008  */
0009 
0010 #define UNNAMED_MAJOR       0
0011 #define MEM_MAJOR       1
0012 #define RAMDISK_MAJOR       1
0013 #define FLOPPY_MAJOR        2
0014 #define PTY_MASTER_MAJOR    2
0015 #define IDE0_MAJOR      3
0016 #define HD_MAJOR        IDE0_MAJOR
0017 #define PTY_SLAVE_MAJOR     3
0018 #define TTY_MAJOR       4
0019 #define TTYAUX_MAJOR        5
0020 #define LP_MAJOR        6
0021 #define VCS_MAJOR       7
0022 #define LOOP_MAJOR      7
0023 #define SCSI_DISK0_MAJOR    8
0024 #define SCSI_TAPE_MAJOR     9
0025 #define MD_MAJOR        9
0026 #define MISC_MAJOR      10
0027 #define SCSI_CDROM_MAJOR    11
0028 #define MUX_MAJOR       11  /* PA-RISC only */
0029 #define XT_DISK_MAJOR       13
0030 #define INPUT_MAJOR     13
0031 #define SOUND_MAJOR     14
0032 #define CDU31A_CDROM_MAJOR  15
0033 #define JOYSTICK_MAJOR      15
0034 #define GOLDSTAR_CDROM_MAJOR    16
0035 #define OPTICS_CDROM_MAJOR  17
0036 #define SANYO_CDROM_MAJOR   18
0037 #define MITSUMI_X_CDROM_MAJOR   20
0038 #define MFM_ACORN_MAJOR     21  /* ARM Linux /dev/mfm */
0039 #define SCSI_GENERIC_MAJOR  21
0040 #define IDE1_MAJOR      22
0041 #define DIGICU_MAJOR        22
0042 #define DIGI_MAJOR      23
0043 #define MITSUMI_CDROM_MAJOR 23
0044 #define CDU535_CDROM_MAJOR  24
0045 #define STL_SERIALMAJOR     24
0046 #define MATSUSHITA_CDROM_MAJOR  25
0047 #define STL_CALLOUTMAJOR    25
0048 #define MATSUSHITA_CDROM2_MAJOR 26
0049 #define QIC117_TAPE_MAJOR   27
0050 #define MATSUSHITA_CDROM3_MAJOR 27
0051 #define MATSUSHITA_CDROM4_MAJOR 28
0052 #define STL_SIOMEMMAJOR     28
0053 #define ACSI_MAJOR      28
0054 #define AZTECH_CDROM_MAJOR  29
0055 #define FB_MAJOR        29   /* /dev/fb* framebuffers */
0056 #define MTD_BLOCK_MAJOR     31
0057 #define CM206_CDROM_MAJOR   32
0058 #define IDE2_MAJOR      33
0059 #define IDE3_MAJOR      34
0060 #define Z8530_MAJOR     34
0061 #define XPRAM_MAJOR     35   /* Expanded storage on S/390: "slow ram"*/
0062 #define NETLINK_MAJOR       36
0063 #define PS2ESDI_MAJOR       36
0064 #define IDETAPE_MAJOR       37
0065 #define Z2RAM_MAJOR     37
0066 #define APBLOCK_MAJOR       38   /* AP1000 Block device */
0067 #define DDV_MAJOR       39   /* AP1000 DDV block device */
0068 #define NBD_MAJOR       43   /* Network block device    */
0069 #define RISCOM8_NORMAL_MAJOR    48
0070 #define DAC960_MAJOR        48   /* 48..55 */
0071 #define RISCOM8_CALLOUT_MAJOR   49
0072 #define MKISS_MAJOR     55
0073 #define DSP56K_MAJOR        55   /* DSP56001 processor device */
0074 
0075 #define IDE4_MAJOR      56
0076 #define IDE5_MAJOR      57
0077 
0078 #define SCSI_DISK1_MAJOR    65
0079 #define SCSI_DISK2_MAJOR    66
0080 #define SCSI_DISK3_MAJOR    67
0081 #define SCSI_DISK4_MAJOR    68
0082 #define SCSI_DISK5_MAJOR    69
0083 #define SCSI_DISK6_MAJOR    70
0084 #define SCSI_DISK7_MAJOR    71
0085 
0086 #define COMPAQ_SMART2_MAJOR 72
0087 #define COMPAQ_SMART2_MAJOR1    73
0088 #define COMPAQ_SMART2_MAJOR2    74
0089 #define COMPAQ_SMART2_MAJOR3    75
0090 #define COMPAQ_SMART2_MAJOR4    76
0091 #define COMPAQ_SMART2_MAJOR5    77
0092 #define COMPAQ_SMART2_MAJOR6    78
0093 #define COMPAQ_SMART2_MAJOR7    79
0094 
0095 #define SPECIALIX_NORMAL_MAJOR  75
0096 #define SPECIALIX_CALLOUT_MAJOR 76
0097 
0098 #define AURORA_MAJOR        79
0099 
0100 #define I2O_MAJOR       80  /* 80->87 */
0101 
0102 #define SHMIQ_MAJOR     85   /* Linux/mips, SGI /dev/shmiq */
0103 #define SCSI_CHANGER_MAJOR      86
0104 
0105 #define IDE6_MAJOR      88
0106 #define IDE7_MAJOR      89
0107 #define IDE8_MAJOR      90
0108 #define MTD_CHAR_MAJOR      90
0109 #define IDE9_MAJOR      91
0110 
0111 #define DASD_MAJOR      94
0112 
0113 #define MDISK_MAJOR     95
0114 
0115 #define UBD_MAJOR       98
0116 
0117 #define PP_MAJOR        99
0118 #define JSFD_MAJOR      99
0119 
0120 #define PHONE_MAJOR     100
0121 
0122 #define COMPAQ_CISS_MAJOR   104
0123 #define COMPAQ_CISS_MAJOR1  105
0124 #define COMPAQ_CISS_MAJOR2      106
0125 #define COMPAQ_CISS_MAJOR3      107
0126 #define COMPAQ_CISS_MAJOR4      108
0127 #define COMPAQ_CISS_MAJOR5      109
0128 #define COMPAQ_CISS_MAJOR6      110
0129 #define COMPAQ_CISS_MAJOR7      111
0130 
0131 #define VIODASD_MAJOR       112
0132 #define VIOCD_MAJOR     113
0133 
0134 #define ATARAID_MAJOR       114
0135 
0136 #define SCSI_DISK8_MAJOR    128
0137 #define SCSI_DISK9_MAJOR    129
0138 #define SCSI_DISK10_MAJOR   130
0139 #define SCSI_DISK11_MAJOR   131
0140 #define SCSI_DISK12_MAJOR   132
0141 #define SCSI_DISK13_MAJOR   133
0142 #define SCSI_DISK14_MAJOR   134
0143 #define SCSI_DISK15_MAJOR   135
0144 
0145 #define UNIX98_PTY_MASTER_MAJOR 128
0146 #define UNIX98_PTY_MAJOR_COUNT  8
0147 #define UNIX98_PTY_SLAVE_MAJOR  (UNIX98_PTY_MASTER_MAJOR+UNIX98_PTY_MAJOR_COUNT)
0148 
0149 #define DRBD_MAJOR      147
0150 #define RTF_MAJOR       150
0151 #define RAW_MAJOR       162
0152 
0153 #define USB_ACM_MAJOR       166
0154 #define USB_ACM_AUX_MAJOR   167
0155 #define USB_CHAR_MAJOR      180
0156 
0157 #define MMC_BLOCK_MAJOR     179
0158 
0159 #define VXVM_MAJOR      199 /* VERITAS volume i/o driver    */
0160 #define VXSPEC_MAJOR        200 /* VERITAS volume config driver */
0161 #define VXDMP_MAJOR     201 /* VERITAS volume multipath driver */
0162 
0163 #define XENVBD_MAJOR        202 /* Xen virtual block device */
0164 
0165 #define MSR_MAJOR       202
0166 #define CPUID_MAJOR     203
0167 
0168 #define OSST_MAJOR      206 /* OnStream-SCx0 SCSI tape */
0169 
0170 #define IBM_TTY3270_MAJOR   227
0171 #define IBM_FS3270_MAJOR    228
0172 
0173 #define VIOTAPE_MAJOR       230
0174 
0175 #define BLOCK_EXT_MAJOR     259
0176 #define SCSI_OSD_MAJOR      260 /* open-osd's OSD scsi device */
0177 
0178 #endif