diff options
author | phk <phk@FreeBSD.org> | 2001-11-04 09:01:07 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-11-04 09:01:07 +0000 |
commit | c665837dfda33ce92ed020e9201d3145438ea776 (patch) | |
tree | 569ca860650009a397319a794d3de7395c373038 /sys/sys/diskpc98.h | |
parent | a5f9edc45abbd6f38474751dd2d30eb9d751f116 (diff) | |
download | FreeBSD-src-c665837dfda33ce92ed020e9201d3145438ea776.zip FreeBSD-src-c665837dfda33ce92ed020e9201d3145438ea776.tar.gz |
Rename the top 7 bits if disk minors to spare bits, rather than type bits.
Diffstat (limited to 'sys/sys/diskpc98.h')
-rw-r--r-- | sys/sys/diskpc98.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h index 7d51a84..244e837 100644 --- a/sys/sys/diskpc98.h +++ b/sys/sys/diskpc98.h @@ -428,7 +428,7 @@ struct dos_partition { _________________________________________________________________ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------------------------------------------- - | TYPE |UNIT_2 | SLICE | MAJOR? | UNIT |PART | + | SPARE |UNIT_2 | SLICE | MAJOR? | UNIT |PART | ----------------------------------------------------------------- */ @@ -451,7 +451,7 @@ dkmodslice(dev_t dev, int slice) #define dkpart(dev) (minor(dev) & 7) #define dkslice(dev) ((minor(dev) >> 16) & 0x1f) -#define dktype(dev) ((minor(dev) >> 25) & 0x7f) +#define dksparebits(dev) ((minor(dev) >> 25) & 0x7f) static __inline u_int dkunit(dev_t dev) |