diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-01-03 19:22:37 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-01-03 19:22:37 +0000 |
commit | ae4b449ab4b5ca75a3cb06ea7dd63331b16f7411 (patch) | |
tree | 0529431be8872233269ec7e32de1bc7156e96c5d /sys/pci | |
parent | 26baf139955d7d9b8d03e7775f68609ff098406e (diff) | |
download | FreeBSD-src-ae4b449ab4b5ca75a3cb06ea7dd63331b16f7411.zip FreeBSD-src-ae4b449ab4b5ca75a3cb06ea7dd63331b16f7411.tar.gz |
Add PCI and device ID's to if_xl to support:
3C920B-EMB-WNM Integrated Fast Ethernet Controller
Submitter reports that the card appears to autonegotiate properly, and
operate well with high levels of NFS traffic.
PR: 75253
Submitted by: "Oleg V. Nauman" <oleg at reis dot zp dot ua>
MFC after: 2 weeks
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_xl.c | 6 | ||||
-rw-r--r-- | sys/pci/if_xlreg.h | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 9b87780..5461b18 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -188,6 +188,8 @@ static struct xl_type xl_devs[] = { "3Com 3c905C-TX Fast Etherlink XL" }, { TC_VENDORID, TC_DEVICEID_TORNADO_10_100BT_920B, "3Com 3c920B-EMB Integrated Fast Etherlink XL" }, + { TC_VENDORID, TC_DEVICEID_TORNADO_10_100BT_920B_WNM, + "3Com 3c920B-EMB-WNM Integrated Fast Etherlink XL" }, { TC_VENDORID, TC_DEVICEID_HURRICANE_10_100BT_SERV, "3Com 3c980 Fast Etherlink XL" }, { TC_VENDORID, TC_DEVICEID_TORNADO_10_100BT_SERV, @@ -1172,6 +1174,7 @@ xl_choose_xcvr(struct xl_softc *sc, int verbose) case TC_DEVICEID_HURRICANE_656B: /* 3c656B */ case TC_DEVICEID_TORNADO_656C: /* 3c656C */ case TC_DEVICEID_TORNADO_10_100BT_920B: /* 3c920B-EMB */ + case TC_DEVICEID_TORNADO_10_100BT_920B_WNM: /* 3c920B-EMB-WNM */ sc->xl_media = XL_MEDIAOPT_MII; sc->xl_xcvr = XL_XCVR_MII; if (verbose) @@ -1269,7 +1272,8 @@ xl_attach(device_t dev) did == TC_DEVICEID_HURRICANE_656B) sc->xl_flags |= XL_FLAG_INVERT_MII_PWR | XL_FLAG_INVERT_LED_PWR; - if (did == TC_DEVICEID_TORNADO_10_100BT_920B) + if (did == TC_DEVICEID_TORNADO_10_100BT_920B || + did == TC_DEVICEID_TORNADO_10_100BT_920B_WNM) sc->xl_flags |= XL_FLAG_PHYOK; switch (did) { diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h index 1c39f8d..9d834d0 100644 --- a/sys/pci/if_xlreg.h +++ b/sys/pci/if_xlreg.h @@ -680,6 +680,7 @@ struct xl_stats { #define TC_DEVICEID_CYCLONE_10_100FX 0x905A #define TC_DEVICEID_TORNADO_10_100BT 0x9200 #define TC_DEVICEID_TORNADO_10_100BT_920B 0x9201 +#define TC_DEVICEID_TORNADO_10_100BT_920B_WNM 0x9202 #define TC_DEVICEID_HURRICANE_10_100BT_SERV 0x9800 #define TC_DEVICEID_TORNADO_10_100BT_SERV 0x9805 #define TC_DEVICEID_HURRICANE_SOHO100TX 0x7646 |