FreeBSD/Linux Kernel Cross Reference
sys/sys/bootmaj.h
1 /*
2 * SYS/BOOTMAJ.H
3 *
4 * Major device numbers as passed from the boot code to the main kernel
5 * usually require translation due to the fact that we no longer have
6 * block device.
7 *
8 * $DragonFly: src/sys/sys/bootmaj.h,v 1.1 2003/07/21 07:06:45 dillon Exp $
9 */
10
11 #define WDMAJOR 0
12 #define WFDMAJOR 1
13 #define FDMAJOR 2
14 #define DAMAJOR 4
15 #define SCSICDMAJOR 6
16 #define MCDMAJOR 7
17
18 #define WD_CDEV_MAJOR 3
19 #define WFD_CDEV_MAJOR 87
20 #define FD_CDEV_MAJOR 9
21 #define DA_CDEV_MAJOR 13
22 #define SCSICD_CDEV_MAJOR 15
23 #define MCD_CDEV_MAJOR 29
24
25 #define BOOTMAJOR_CONVARY \
26 WD_CDEV_MAJOR, WFD_CDEV_MAJOR, FD_CDEV_MAJOR, -1, DA_CDEV_MAJOR, \
27 -1, SCSICD_CDEV_MAJOR, MCD_CDEV_MAJOR
28
Cache object: 68201c025a607ba5b4f19872533c7a80
|