major.h 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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 GRAPHDEV_MAJOR 29 /* SparcLinux & Linux/68k /dev/fb */
  55. #define CM206_CDROM_MAJOR 32
  56. #define IDE2_MAJOR 33
  57. #define IDE3_MAJOR 34
  58. #define Z8530_MAJOR 34
  59. #define XPRAM_MAJOR 35 /* Expanded storage on S/390: "slow ram"*/
  60. #define NETLINK_MAJOR 36
  61. #define PS2ESDI_MAJOR 36
  62. #define IDETAPE_MAJOR 37
  63. #define Z2RAM_MAJOR 37
  64. #define APBLOCK_MAJOR 38 /* AP1000 Block device */
  65. #define DDV_MAJOR 39 /* AP1000 DDV block device */
  66. #define NBD_MAJOR 43 /* Network block device */
  67. #define RISCOM8_NORMAL_MAJOR 48
  68. #define DAC960_MAJOR 48 /* 48..55 */
  69. #define RISCOM8_CALLOUT_MAJOR 49
  70. #define MKISS_MAJOR 55
  71. #define DSP56K_MAJOR 55 /* DSP56001 processor device */
  72. #define IDE4_MAJOR 56
  73. #define IDE5_MAJOR 57
  74. #define SCSI_DISK1_MAJOR 65
  75. #define SCSI_DISK2_MAJOR 66
  76. #define SCSI_DISK3_MAJOR 67
  77. #define SCSI_DISK4_MAJOR 68
  78. #define SCSI_DISK5_MAJOR 69
  79. #define SCSI_DISK6_MAJOR 70
  80. #define SCSI_DISK7_MAJOR 71
  81. #define COMPAQ_SMART2_MAJOR 72
  82. #define COMPAQ_SMART2_MAJOR1 73
  83. #define COMPAQ_SMART2_MAJOR2 74
  84. #define COMPAQ_SMART2_MAJOR3 75
  85. #define COMPAQ_SMART2_MAJOR4 76
  86. #define COMPAQ_SMART2_MAJOR5 77
  87. #define COMPAQ_SMART2_MAJOR6 78
  88. #define COMPAQ_SMART2_MAJOR7 79
  89. #define SPECIALIX_NORMAL_MAJOR 75
  90. #define SPECIALIX_CALLOUT_MAJOR 76
  91. #define AURORA_MAJOR 79
  92. #define I2O_MAJOR 80 /* 80->87 */
  93. #define SHMIQ_MAJOR 85 /* Linux/mips, SGI /dev/shmiq */
  94. #define SCSI_CHANGER_MAJOR 86
  95. #define IDE6_MAJOR 88
  96. #define IDE7_MAJOR 89
  97. #define IDE8_MAJOR 90
  98. #define IDE9_MAJOR 91
  99. #define DASD_MAJOR 94
  100. #define MDISK_MAJOR 95
  101. #define UBD_MAJOR 98
  102. #define PP_MAJOR 99
  103. #define JSFD_MAJOR 99
  104. #define PHONE_MAJOR 100
  105. #define COMPAQ_CISS_MAJOR 104
  106. #define COMPAQ_CISS_MAJOR1 105
  107. #define COMPAQ_CISS_MAJOR2 106
  108. #define COMPAQ_CISS_MAJOR3 107
  109. #define COMPAQ_CISS_MAJOR4 108
  110. #define COMPAQ_CISS_MAJOR5 109
  111. #define COMPAQ_CISS_MAJOR6 110
  112. #define COMPAQ_CISS_MAJOR7 111
  113. #define VIODASD_MAJOR 112
  114. #define VIOCD_MAJOR 113
  115. #define ATARAID_MAJOR 114
  116. #define SCSI_DISK8_MAJOR 128
  117. #define SCSI_DISK9_MAJOR 129
  118. #define SCSI_DISK10_MAJOR 130
  119. #define SCSI_DISK11_MAJOR 131
  120. #define SCSI_DISK12_MAJOR 132
  121. #define SCSI_DISK13_MAJOR 133
  122. #define SCSI_DISK14_MAJOR 134
  123. #define SCSI_DISK15_MAJOR 135
  124. #define UNIX98_PTY_MASTER_MAJOR 128
  125. #define UNIX98_PTY_MAJOR_COUNT 8
  126. #define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR+UNIX98_PTY_MAJOR_COUNT)
  127. #define RTF_MAJOR 150
  128. #define RAW_MAJOR 162
  129. #define USB_ACM_MAJOR 166
  130. #define USB_ACM_AUX_MAJOR 167
  131. /*Leo 2009/7/10 {*/
  132. /*under new version MMC
  133. the MMC_MAJOR must be set 254
  134. otherwise SD card can not be mounted*/
  135. //#define MMC_BLOCK_MAJOR 179
  136. #define MMC_BLOCK_MAJOR 254
  137. /*}Leo 2009/7/10*/
  138. #define USB_CHAR_MAJOR 180
  139. #define VXVM_MAJOR 199 /* VERITAS volume i/o driver */
  140. #define VXSPEC_MAJOR 200 /* VERITAS volume config driver */
  141. #define VXDMP_MAJOR 201 /* VERITAS volume multipath driver */
  142. #define MSR_MAJOR 202
  143. #define CPUID_MAJOR 203
  144. #define OSST_MAJOR 206 /* OnStream-SCx0 SCSI tape */
  145. #define IBM_TTY3270_MAJOR 227
  146. #define IBM_FS3270_MAJOR 228
  147. #define VIOTAPE_MAJOR 230
  148. #define TOUCH_MAJOR 220 //Qisda, Asaku Chen, 2009/07/28 for touch cmd
  149. #define AUDIO_MAJOR 221 //Qisda, Asaku Chen, 2009/08/12 for EM test
  150. #define S3C_WIFI_MAJOR 222 //Qisda, Asaku Chen, 2009/08/20 for wifi power
  151. #define S3C_3G_MAJOR 223 //Qisda, Leo SJ Yang, 2009/08/27 for 3G Module power
  152. #define S3C_UDC_MAJOR 224 //Qisda, Leo SJ Yang, 2009/11/04 for UDC power state
  153. #define S3C_BT_MAJOR 225 //Qisda, Ralph Chang, 2010/02/09 for bt power state
  154. #endif