major.h 4.5 KB

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