Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isa Finish conversion to new-style isa config machin...



details:   https://anonhg.NetBSD.org/src/rev/fc37ff716051
branches:  trunk
changeset: 521318:fc37ff716051
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Mon Jan 28 03:45:25 2002 +0000

description:
Finish conversion to new-style isa config machinery (#ifdef DEBUG code was
left unconverted)

diffstat:

 sys/dev/isa/seagate.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 574639edf961 -r fc37ff716051 sys/dev/isa/seagate.c
--- a/sys/dev/isa/seagate.c     Mon Jan 28 03:33:55 2002 +0000
+++ b/sys/dev/isa/seagate.c     Mon Jan 28 03:45:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: seagate.c,v 1.46 2002/01/12 16:21:07 tsutsui Exp $     */
+/*     $NetBSD: seagate.c,v 1.47 2002/01/28 03:45:25 sommerfeld Exp $  */
 
 /*
  * ST01/02, Future Domain TMC-885, TMC-950 SCSI driver
@@ -65,7 +65,7 @@
  */
  
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: seagate.c,v 1.46 2002/01/12 16:21:07 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: seagate.c,v 1.47 2002/01/28 03:45:25 sommerfeld Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -370,8 +370,7 @@
                break;
        default:
 #ifdef DEBUG
-               printf("seaprobe: board type unknown at address 0x%x\n",
-                   ia->ia_maddr);
+               printf("seaprobe: board type unknown at address 0x%x\n", maddr);
 #endif
                return 0;
        }
@@ -430,7 +429,7 @@
        default:
 #ifdef DEBUG
                printf("%s: board type unknown at address 0x%x\n",
-                   sea->sc_dev.dv_xname, ia->ia_maddr);
+                   sea->sc_dev.dv_xname, sea->maddr);
 #endif
                return;
        }



Home | Main Index | Thread Index | Old Index