summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-07 13:39:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-07 13:39:03 +0000
commit6384871272859e18f8ca1e245ccd18741738bfa9 (patch)
tree04f9c075715bf9decc477e475835dbb0e75558f0
parent35ac86e2e289bcb588934732e59b0ba8da0df34b (diff)
add DISKMINOR(), and repair redefinitions
-rw-r--r--sys/arch/mvme68k/include/disklabel.h4
-rw-r--r--sys/arch/mvme88k/include/disklabel.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/mvme68k/include/disklabel.h b/sys/arch/mvme68k/include/disklabel.h
index f2b386c6a9b..792d6406b70 100644
--- a/sys/arch/mvme68k/include/disklabel.h
+++ b/sys/arch/mvme68k/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.5 1997/03/31 00:24:00 downsj Exp $ */
+/* $OpenBSD: disklabel.h,v 1.6 2000/04/07 13:39:01 deraadt Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
@@ -50,8 +50,6 @@
*/
#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
diff --git a/sys/arch/mvme88k/include/disklabel.h b/sys/arch/mvme88k/include/disklabel.h
index 7bb8062799f..2d9dba98585 100644
--- a/sys/arch/mvme88k/include/disklabel.h
+++ b/sys/arch/mvme88k/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.4 1999/02/09 06:36:26 smurph Exp $ */
+/* $OpenBSD: disklabel.h,v 1.5 2000/04/07 13:39:02 deraadt Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* Copyright (c) 1995 Dale Rahn.
@@ -49,8 +49,6 @@
*/
#define DISKUNIT(dev) (minor(dev) / MAXPARTITIONS)
#define DISKPART(dev) (minor(dev) % MAXPARTITIONS)
-#define MAKEDISKDEV(maj, unit, part) \
- (makedev((maj), ((unit) * MAXPARTITIONS) + (part)))
/*
* Note: this structure is exactly 512 bytes in size. If you move fields