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.
This commit is contained in:
paul 1998-11-26 00:53:45 +00:00
parent 27ab9c8e65
commit 145a163b3f
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;