Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Move WDC_NREG from wdcreg.h to wdcvar.h. First pa...



details:   https://anonhg.NetBSD.org/src/rev/afb9a0e497fa
branches:  trunk
changeset: 555876:afb9a0e497fa
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed Dec 03 12:01:18 2003 +0000

description:
Move WDC_NREG from wdcreg.h to wdcvar.h. First part of fix for
port-macppc/23604.

diffstat:

 sys/dev/ic/wdcreg.h |  4 +---
 sys/dev/ic/wdcvar.h |  4 +++-
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 0afecfc13aab -r afb9a0e497fa sys/dev/ic/wdcreg.h
--- a/sys/dev/ic/wdcreg.h       Wed Dec 03 10:36:56 2003 +0000
+++ b/sys/dev/ic/wdcreg.h       Wed Dec 03 12:01:18 2003 +0000
@@ -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 -r 0afecfc13aab -r afb9a0e497fa sys/dev/ic/wdcvar.h
--- a/sys/dev/ic/wdcvar.h       Wed Dec 03 10:36:56 2003 +0000
+++ b/sys/dev/ic/wdcvar.h       Wed Dec 03 12:01:18 2003 +0000
@@ -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 @@
        int queue_freeze;
 };
 
+#define WDC_NREG       8 /* number of command registers */
+
 struct channel_softc { /* Per channel data */
        /* Our timeout callout */
        struct callout ch_callout;



Home | Main Index | Thread Index | Old Index