root/include/uapi/linux/major.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


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

/* [<][>][^][v][top][bottom][index][help] */