summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xl.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-01-19 04:47:54 +0000
committerobrien <obrien@FreeBSD.org>2003-01-19 04:47:54 +0000
commit61187c9172c2d324052fc1f9135c136f69a43248 (patch)
tree727c22dfbe8b5c302f4f5b0b39e2bdd5b31639b0 /sys/pci/if_xl.c
parentd9ae4cd4b528a3180b4a7976e2ea0e4c2f787faa (diff)
downloadFreeBSD-src-61187c9172c2d324052fc1f9135c136f69a43248.zip
FreeBSD-src-61187c9172c2d324052fc1f9135c136f69a43248.tar.gz
Complete the support of the on-board xl(4) on nVidia nForce2 mobo's.
Submitted by: Mikko S. Hyvarinen <morphy@morphy.iki.fi>
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r--sys/pci/if_xl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index 421d05a..85011d2 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -1247,6 +1247,7 @@ xl_choose_xcvr(sc, verbose)
case TC_DEVICEID_HURRICANE_656: /* 3c656 */
case TC_DEVICEID_HURRICANE_656B: /* 3c656B */
case TC_DEVICEID_TORNADO_656C: /* 3c656C */
+ case TC_DEVICEID_TORNADO_10_100BT_NVIDIA: /* nVidia nForce2 */
sc->xl_media = XL_MEDIAOPT_MII;
sc->xl_xcvr = XL_XCVR_MII;
if (verbose)
@@ -1343,6 +1344,8 @@ xl_attach(dev)
pci_get_device(dev) == TC_DEVICEID_HURRICANE_656B)
sc->xl_flags |= XL_FLAG_INVERT_MII_PWR |
XL_FLAG_INVERT_LED_PWR;
+ if (pci_get_device(dev) == TC_DEVICEID_TORNADO_10_100BT_NVIDIA)
+ sc->xl_flags |= XL_FLAG_PHYOK;
/*
* If this is a 3c905B, we have to check one extra thing.
OpenPOWER on IntegriCloud