Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 1995 14:48:51 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com, julian@freefall.cdrom.com
Subject:   Re: cvs commit: src/sys/sys disklabel.h
Message-ID:  <199505010448.OAA16733@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Modified:    sys/sys   disklabel.h
>  Log:
>  making a reservation for more bits before people start using them
>  in the minor number, (this stuff HAS to go!)
>  The change I want is:
>  /*
>         3                   2                   1                   0
>       1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
>      _________________________________________________________________
>      | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
>      -----------------------------------------------------------------
>      |      TYPE           | SLICE   |  MAJOR?       |  UNIT   |PART | <-now
>      -----------------------------------------------------------------
>      |      TYPE     |PART2| SLICE   |  MAJOR?       |  UNIT   |PART | <-soon
>      -----------------------------------------------------------------
>  
>          I want 3 more part bits (taken from 'TYPE' (useless as it is) (JRE)
>  */

I already use the low 6 bits of the TYPE for FDTYPE() in isa/fdc.h :-].

Don't forget to update all the places that decode or encode the bits, e.g.,
dkminor() in MAKEDEV.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505010448.OAA16733>