major.h
上传用户:szlgq88
上传日期:2009-04-28
资源大小:48287k
文件大小:4k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  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 JSFD_MAJOR 99
  103. #define PHONE_MAJOR 100
  104. #define COMPAQ_CISS_MAJOR 104
  105. #define COMPAQ_CISS_MAJOR1 105
  106. #define COMPAQ_CISS_MAJOR2      106
  107. #define COMPAQ_CISS_MAJOR3      107
  108. #define COMPAQ_CISS_MAJOR4      108
  109. #define COMPAQ_CISS_MAJOR5      109
  110. #define COMPAQ_CISS_MAJOR6      110
  111. #define COMPAQ_CISS_MAJOR7      111
  112. #define VIODASD_MAJOR 112
  113. #define VIOCD_MAJOR 113
  114. #define ATARAID_MAJOR 114
  115. #define SCSI_DISK8_MAJOR 128
  116. #define SCSI_DISK9_MAJOR 129
  117. #define SCSI_DISK10_MAJOR 130
  118. #define SCSI_DISK11_MAJOR 131
  119. #define SCSI_DISK12_MAJOR 132
  120. #define SCSI_DISK13_MAJOR 133
  121. #define SCSI_DISK14_MAJOR 134
  122. #define SCSI_DISK15_MAJOR 135
  123. #define UNIX98_PTY_MASTER_MAJOR 128
  124. #define UNIX98_PTY_MAJOR_COUNT 8
  125. #define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR+UNIX98_PTY_MAJOR_COUNT)
  126. #define RTF_MAJOR 150
  127. #define RAW_MAJOR 162
  128. #define USB_ACM_MAJOR 166
  129. #define USB_ACM_AUX_MAJOR 167
  130. #define USB_CHAR_MAJOR 180
  131. #define VXVM_MAJOR 199 /* VERITAS volume i/o driver    */
  132. #define VXSPEC_MAJOR 200 /* VERITAS volume config driver */
  133. #define VXDMP_MAJOR 201 /* VERITAS volume multipath driver */
  134. #define MSR_MAJOR 202
  135. #define CPUID_MAJOR 203
  136. #define OSST_MAJOR 206 /* OnStream-SCx0 SCSI tape */
  137. #define IBM_TTY3270_MAJOR 227
  138. #define IBM_FS3270_MAJOR 228
  139. #define VIOTAPE_MAJOR 230
  140. #endif