diff options
author | nyan <nyan@FreeBSD.org> | 2001-07-04 13:00:21 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2001-07-04 13:00:21 +0000 |
commit | 497620bac5a53c422f1848241d5df96e19c8f71e (patch) | |
tree | 9e2aa991c3b2c116dea316c8fd95067921cb43c2 /sys/dev/lnc/if_lnc_pci.c | |
parent | 53b01bc71cc702ed3a886222afd9162fc7067c20 (diff) | |
download | FreeBSD-src-497620bac5a53c422f1848241d5df96e19c8f71e.zip FreeBSD-src-497620bac5a53c422f1848241d5df96e19c8f71e.tar.gz |
- Don't overwrite inb, inw and outw.
- Move the lance_probe function to if_lnc.c.
- Support C-NET(98)S again.
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) and nyan
No response from: Paul Richards
Diffstat (limited to 'sys/dev/lnc/if_lnc_pci.c')
-rw-r--r-- | sys/dev/lnc/if_lnc_pci.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/lnc/if_lnc_pci.c b/sys/dev/lnc/if_lnc_pci.c index e19a756..00d7ab8 100644 --- a/sys/dev/lnc/if_lnc_pci.c +++ b/sys/dev/lnc/if_lnc_pci.c @@ -36,8 +36,6 @@ #include <sys/malloc.h> #include <sys/kernel.h> -#include <machine/bus_memio.h> -#include <machine/bus_pio.h> #include <machine/bus.h> #include <machine/resource.h> #include <sys/bus.h> @@ -122,7 +120,6 @@ lnc_pci_attach(device_t dev) if (err) device_printf(dev, "Cannot setup irq handler\n"); - sc->iobase = rman_get_start(sc->portres); sc->lnc_btag = rman_get_bustag(sc->portres); sc->lnc_bhandle = rman_get_bushandle(sc->portres); |