Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isa Fix braino in previous, pointed out by Jaromir.



details:   https://anonhg.NetBSD.org/src/rev/43a4642efaaa
branches:  trunk
changeset: 487368:43a4642efaaa
user:      soren <soren%NetBSD.org@localhost>
date:      Tue Jun 06 18:42:47 2000 +0000

description:
Fix braino in previous, pointed out by Jaromir.

diffstat:

 sys/dev/isa/if_tr_isa.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r efe4ad01ddfa -r 43a4642efaaa sys/dev/isa/if_tr_isa.c
--- a/sys/dev/isa/if_tr_isa.c   Tue Jun 06 18:26:32 2000 +0000
+++ b/sys/dev/isa/if_tr_isa.c   Tue Jun 06 18:42:47 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tr_isa.c,v 1.5 2000/06/06 16:27:49 soren Exp $      */
+/*     $NetBSD: if_tr_isa.c,v 1.6 2000/06/06 18:42:47 soren Exp $      */
 
 #undef TRISADEBUG
 /*
@@ -91,8 +91,6 @@
        bus_size_t mmio;
        u_int8_t s;
 
-       printf("\n");
-
        if (bus_space_map(ia->ia_iot, ia->ia_iobase, ia->ia_iosize, 0, pioh)) {
                printf("tr_isa_map_io: can't map PIO ports\n");
                return 1;
@@ -191,6 +189,8 @@
        struct tr_softc *sc = (void *) self;
        struct isa_attach_args *ia = aux;
 
+       printf("\n");
+
        sc->sc_piot = ia->ia_iot;
        sc->sc_memt = ia->ia_memt;
        if (tr_isa_map_io(ia, &sc->sc_pioh, &sc->sc_mmioh)) {



Home | Main Index | Thread Index | Old Index