From 4466be9850425b8bec29fd728495340174337699 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 29 Sep 1996 20:59:41 +0000 Subject: Fix for PCI etherlink3 packet-receive bug; netbsd pr#2661, jonathan@DSG.Stanford.EDU --- sys/dev/ic/elink3.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/dev/ic/elink3.c') diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c index 4b0ab2d71ab..a893c2869a6 100644 --- a/sys/dev/ic/elink3.c +++ b/sys/dev/ic/elink3.c @@ -194,6 +194,11 @@ epinit(sc) bus_io_write_1(bc, ioh, EP_W2_ADDR_0 + i, sc->sc_arpcom.ac_enaddr[i]); + if (sc->bustype == EP_BUS_PCI || sc->bustype == EP_BUS_EISA) + /* Reset the station-address receive filter */ + for (i = 0; i < 6; i++) + bus_io_write_1(bc, ioh,EP_W2_RECVMASK_0 + i, 0); + bus_io_write_2(bc, ioh, EP_COMMAND, RX_RESET); bus_io_write_2(bc, ioh, EP_COMMAND, TX_RESET); -- cgit v1.2.3