From 145a163b3ff51d51f076c0e8d139d8b2d4b0a7ff Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 26 Nov 1998 00:53:45 +0000 Subject: Despite what people may think the Am79C970 returns the chip id of an Am79C965. Fix the PCI probe code to accept this id otherwise cards based on the Am79C970 fail to probe. --- sys/i386/isa/if_lnc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/i386/isa/if_lnc.c') diff --git a/sys/i386/isa/if_lnc.c b/sys/i386/isa/if_lnc.c index 7d9cd65..8e2a262 100644 --- a/sys/i386/isa/if_lnc.c +++ b/sys/i386/isa/if_lnc.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_lnc.c,v 1.47 1998/10/22 05:58:39 bde Exp $ + * $Id: if_lnc.c,v 1.48 1998/10/30 11:53:58 luigi Exp $ */ /* @@ -1311,7 +1311,7 @@ lnc_attach_ne2100_pci(int unit, unsigned iobase) sc->bdp = iobase + PCNET_BDP; sc->nic.ic = pcnet_probe(sc); - if (sc->nic.ic >= PCnet_PCI) { + if (sc->nic.ic >= PCnet_32) { sc->nic.ident = NE2100; sc->nic.mem_mode = DMA_FIXED; -- cgit v1.1