The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sys/bootmaj.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.