summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/hdvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hp300/dev/hdvar.h')
-rw-r--r--sys/arch/hp300/dev/hdvar.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hp300/dev/hdvar.h b/sys/arch/hp300/dev/hdvar.h
index 2ef6c939d25..a69b31f3d18 100644
--- a/sys/arch/hp300/dev/hdvar.h
+++ b/sys/arch/hp300/dev/hdvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hdvar.h,v 1.3 2001/05/01 16:51:09 millert Exp $ */
+/* $OpenBSD: hdvar.h,v 1.4 2002/12/25 20:56:59 miod Exp $ */
/* $NetBSD: rdvar.h,v 1.6 1997/01/30 09:14:19 thorpej Exp $ */
/*
@@ -92,9 +92,9 @@ struct hd_softc {
#define HDF_WANTED 0x20
#define HDF_WLABEL 0x40
-#define hdunit(x) DISKUNIT(x)
-#define hdpart(x) DISKPART(x)
-#define hdlabdev(d) MAKEDISKDEV(major(d), hdunit(d), RAW_PART)
+#define HDUNIT(x) DISKUNIT(x)
+#define HDPART(x) DISKPART(x)
+#define HDLABELDEV(d) MAKEDISKDEV(major(d), HDUNIT(d), RAW_PART)
#define b_cylin b_resid