Drop some #defines which are now in sys/disklabel.h.
This commit is contained in:
parent
e54d837b8b
commit
9cc52f53a8
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: disklabel.h,v 1.4 1996/05/16 17:52:51 chuck Exp $ */
|
||||
/* $NetBSD: disklabel.h,v 1.5 1999/11/09 10:03:20 scw Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Dale Rahn.
|
||||
|
@ -43,15 +43,6 @@
|
|||
#define MAXPARTITIONS (1 << PARTITIONSHIFT) /* number of partitions */
|
||||
#define RAW_PART 2 /* raw partition: xx?c */
|
||||
|
||||
/*
|
||||
* used to encode disk minor numbers
|
||||
* this should probably be moved to sys/disklabel.h
|
||||
*/
|
||||
#define DISKUNIT(dev) (minor(dev) / MAXPARTITIONS)
|
||||
#define DISKPART(dev) (minor(dev) % MAXPARTITIONS)
|
||||
#define MAKEDISKDEV(maj, unit, part) \
|
||||
(makedev((maj), ((unit) * MAXPARTITIONS) + (part)))
|
||||
|
||||
/*
|
||||
* a cpu_disklabel is a disklabel that the bug (prom) can understand
|
||||
* and live with. the bug works in terms of 256 byte blocks. in our
|
||||
|
|
Loading…
Reference in New Issue