summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_ste.c
diff options
context:
space:
mode:
authorambrisko <ambrisko@FreeBSD.org>2002-08-16 23:19:16 +0000
committerambrisko <ambrisko@FreeBSD.org>2002-08-16 23:19:16 +0000
commitb9b7fbb25dccf66f7e085debd1b2960eb761070d (patch)
treee9ec37da7a97dcd5bf7837801adc15772e37e1d7 /sys/pci/if_ste.c
parentd093261d0a46c2e6bd8a68396c4be0858121e955 (diff)
downloadFreeBSD-src-b9b7fbb25dccf66f7e085debd1b2960eb761070d.zip
FreeBSD-src-b9b7fbb25dccf66f7e085debd1b2960eb761070d.tar.gz
Revert change to detect multiply PHYs in mii code. There might be cases
when this is needed. Work around bogus second PHY in the DFE-580 card via a change in the if_ste.c driver. Suggested by: jdp Reviewed by: jdp MFC after: 3 days
Diffstat (limited to 'sys/pci/if_ste.c')
-rw-r--r--sys/pci/if_ste.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index 73f218c..5a2a814 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -380,6 +380,11 @@ static int ste_miibus_readreg(dev, phy, reg)
sc = device_get_softc(dev);
+ if (pci_get_vendor(dev) == DL_VENDORID &&
+ pci_get_device(dev) == DL_DEVICEID_550TX &&
+ phy != 0)
+ return (0);
+
bzero((char *)&frame, sizeof(frame));
frame.mii_phyaddr = phy;
OpenPOWER on IntegriCloud