diff options
author | paul <paul@FreeBSD.org> | 1998-11-26 00:53:45 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 1998-11-26 00:53:45 +0000 |
commit | 145a163b3ff51d51f076c0e8d139d8b2d4b0a7ff (patch) | |
tree | c667ba5cd26ac21a2b5bf5236a3a135585e20b63 /sys/i386/isa | |
parent | 27ab9c8e6581eba38e9cb0b59d14801c6b78550c (diff) | |
download | FreeBSD-src-145a163b3ff51d51f076c0e8d139d8b2d4b0a7ff.zip FreeBSD-src-145a163b3ff51d51f076c0e8d139d8b2d4b0a7ff.tar.gz |
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.
Diffstat (limited to 'sys/i386/isa')
-rw-r--r-- | sys/i386/isa/if_lnc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |