aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-01-19 04:47:54 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-01-19 04:47:54 +0000
commitaac0e9388ea5f8de34c2399bc1b58ed1798057b7 (patch)
tree727c22dfbe8b5c302f4f5b0b39e2bdd5b31639b0
parenta177c01fae4ec3297ff25e097b930b7656fd337c (diff)
downloadsrc-aac0e9388ea5f8de34c2399bc1b58ed1798057b7.tar.gz
src-aac0e9388ea5f8de34c2399bc1b58ed1798057b7.zip
Complete the support of the on-board xl(4) on nVidia nForce2 mobo's.
Submitted by: Mikko S. Hyvarinen <morphy@morphy.iki.fi>
Notes
Notes: svn path=/head/; revision=109517
-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 421d05af9d32..85011d2b51d5 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.