Ignore tulip chips on LanMedia WAN cards.

This commit is contained in:
Poul-Henning Kamp 2000-04-25 21:45:45 +00:00
parent 9547f4e793
commit d4032b0b10
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59629
2 changed files with 14 additions and 0 deletions

View File

@ -5085,6 +5085,13 @@ tulip_pci_probe(device_t dev)
if (pci_get_vendor(dev) != DEC_VENDORID)
return ENXIO;
/*
* Some LanMedia WAN cards use the Tulip chip, but they have
* their own driver, and we should not recognize them
*/
if (pci_get_subvendor(dev) == 0x1376)
return ENXIO;
switch (pci_get_device(dev)) {
case CHIPID_21040:
name = "Digital 21040 Ethernet";

View File

@ -5085,6 +5085,13 @@ tulip_pci_probe(device_t dev)
if (pci_get_vendor(dev) != DEC_VENDORID)
return ENXIO;
/*
* Some LanMedia WAN cards use the Tulip chip, but they have
* their own driver, and we should not recognize them
*/
if (pci_get_subvendor(dev) == 0x1376)
return ENXIO;
switch (pci_get_device(dev)) {
case CHIPID_21040:
name = "Digital 21040 Ethernet";