Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pcmcia Don't restrict the ethernet portion after mod...



details:   https://anonhg.NetBSD.org/src/rev/3c00efe7f4e4
branches:  trunk
changeset: 477541:3c00efe7f4e4
user:      enami <enami%NetBSD.org@localhost>
date:      Wed Oct 20 14:57:57 1999 +0000

description:
Don't restrict the ethernet portion after modem portion.  It prevents
us from using some config entries (com at 0x3xxx).

diffstat:

 sys/dev/pcmcia/mhzc.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (22 lines):

diff -r 5fb516153699 -r 3c00efe7f4e4 sys/dev/pcmcia/mhzc.c
--- a/sys/dev/pcmcia/mhzc.c     Wed Oct 20 14:32:09 1999 +0000
+++ b/sys/dev/pcmcia/mhzc.c     Wed Oct 20 14:57:57 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mhzc.c,v 1.2 1999/09/28 22:46:43 thorpej Exp $ */
+/*     $NetBSD: mhzc.c,v 1.3 1999/10/20 14:57:57 enami Exp $   */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -316,11 +316,7 @@
        bus_addr_t addr, maxaddr;
 
        maxaddr = sc->sc_pf->sc->iobase + sc->sc_pf->sc->iosize;
-
-       /*
-        * Start with the first address past the Modem.
-        */
-       addr = sc->sc_modem_pcioh.addr + sc->sc_modem_pcioh.size;
+       addr = sc->sc_pf->sc->iobase;
 
        /*
         * Now round it up so that it starts on a 16-byte boundary.



Home | Main Index | Thread Index | Old Index