summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/hdvar.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-11-14 20:20:31 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-11-14 20:20:31 +0000
commit5974db47606b46a5bca2663d227abeddd57f7895 (patch)
tree8f676fe002270165b03715a16378b6c2ef9160fb /sys/arch/hp300/dev/hdvar.h
parent3e8637c2f93922ed7f747037bdcee4f21ad2b9d7 (diff)
Make HDWAITC and HDRETRY overridable in the kernel configuration file;
while there, constify option DEBUG message tables.
Diffstat (limited to 'sys/arch/hp300/dev/hdvar.h')
-rw-r--r--sys/arch/hp300/dev/hdvar.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/arch/hp300/dev/hdvar.h b/sys/arch/hp300/dev/hdvar.h
index 19403bcd3c7..1dd72546181 100644
--- a/sys/arch/hp300/dev/hdvar.h
+++ b/sys/arch/hp300/dev/hdvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hdvar.h,v 1.6 2005/11/12 23:10:04 miod Exp $ */
+/* $OpenBSD: hdvar.h,v 1.7 2005/11/14 20:20:30 miod Exp $ */
/* $NetBSD: rdvar.h,v 1.6 1997/01/30 09:14:19 thorpej Exp $ */
/*
@@ -88,15 +88,6 @@ struct hd_softc {
#define HDF_WANTED 0x20
#define HDF_WLABEL 0x40
-#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
-
-#define HDRETRY 5
-#define HDWAITC 1 /* min time for timeout in seconds */
-
#ifdef _KERNEL
extern const struct hdidentinfo hdidentinfo[];
#endif