summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorbouyer <bouyer@NetBSD.org>2003-12-03 12:01:18 +0000
committerbouyer <bouyer@NetBSD.org>2003-12-03 12:01:18 +0000
commit67e9511d69093ee6932dab7b9a172f4ccb143fc9 (patch)
tree150928bd0406b1e5e624f04504dee7e90e70f457 /sys/dev
parent38c1966986069d2f1b2f5d0f74cc8fc0b490be4d (diff)
Move WDC_NREG from wdcreg.h to wdcvar.h. First part of fix for
port-macppc/23604.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/wdcreg.h4
-rw-r--r--sys/dev/ic/wdcvar.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/wdcreg.h b/sys/dev/ic/wdcreg.h
index 950b0dd68c3..76e804366d1 100644
--- a/sys/dev/ic/wdcreg.h
+++ b/sys/dev/ic/wdcreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: wdcreg.h,v 1.29 2003/11/27 23:02:40 fvdl Exp $ */
+/* $NetBSD: wdcreg.h,v 1.30 2003/12/03 12:01:18 bouyer Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -65,8 +65,6 @@
#define wd_digin 1 /* disk controller input (R) */
#endif
-#define WDC_NREG 8
-
/*
* Status bits.
*/
diff --git a/sys/dev/ic/wdcvar.h b/sys/dev/ic/wdcvar.h
index 275deb5d42f..48c0c7abc08 100644
--- a/sys/dev/ic/wdcvar.h
+++ b/sys/dev/ic/wdcvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: wdcvar.h,v 1.44 2003/11/27 23:02:40 fvdl Exp $ */
+/* $NetBSD: wdcvar.h,v 1.45 2003/12/03 12:01:18 bouyer Exp $ */
/*-
* Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
@@ -50,6 +50,8 @@ struct channel_queue { /* per channel queue (may be shared) */
int queue_freeze;
};
+#define WDC_NREG 8 /* number of command registers */
+
struct channel_softc { /* Per channel data */
/* Our timeout callout */
struct callout ch_callout;