Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isa Do not complain in sbfind() if another driver ha...



details:   https://anonhg.NetBSD.org/src/rev/4802ebc051a5
branches:  trunk
changeset: 476122:4802ebc051a5
user:      soren <soren%NetBSD.org@localhost>
date:      Tue Sep 07 00:49:41 1999 +0000

description:
Do not complain in sbfind() if another driver has mapped the registers.

diffstat:

 sys/dev/isa/sb_isa.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r dbd70fc6d951 -r 4802ebc051a5 sys/dev/isa/sb_isa.c
--- a/sys/dev/isa/sb_isa.c      Mon Sep 06 23:58:59 1999 +0000
+++ b/sys/dev/isa/sb_isa.c      Tue Sep 07 00:49:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sb_isa.c,v 1.21 1999/03/22 07:37:35 mycroft Exp $      */
+/*     $NetBSD: sb_isa.c,v 1.22 1999/09/07 00:49:41 soren Exp $        */
 
 /*
  * Copyright (c) 1991-1993 Regents of the University of California.
@@ -105,11 +105,8 @@
        sc->sc_iot = ia->ia_iot;
        /* Map i/o space [we map 24 ports which is the max of the sb and pro */
        if (bus_space_map(sc->sc_iot, ia->ia_iobase, SBP_NPORT, 0,
-           &sc->sc_ioh)) {
-               printf("sb: can't map i/o space 0x%x/%d in probe\n",
-                   ia->ia_iobase, SBP_NPORT);
+           &sc->sc_ioh))
                return 0;
-       }
 
        /* XXX These are only for setting chip configuration registers. */
        sc->sc_iobase = ia->ia_iobase;



Home | Main Index | Thread Index | Old Index