Apply patch by Adrian Panasiuk that fixes issues with some 3com combo chipsets. Resolves #3120.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42952 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2011-10-29 14:45:39 +00:00
parent f86acdc207
commit 32aa019c45

View File

@ -1206,6 +1206,9 @@ xl_attach(device_t dev)
sc->xl_flags |= XL_FLAG_PHYOK;
switch (did) {
#ifdef __HAIKU__
case TC_DEVICEID_BOOMERANG_10BT_COMBO:
#endif
case TC_DEVICEID_BOOMERANG_10_100BT: /* 3c905-TX */
case TC_DEVICEID_HURRICANE_575A:
case TC_DEVICEID_HURRICANE_575B:
@ -1458,6 +1461,11 @@ xl_attach(device_t dev)
sc->xl_xcvr &= XL_ICFG_CONNECTOR_MASK;
sc->xl_xcvr >>= XL_ICFG_CONNECTOR_BITS;
#ifdef __HAIKU__
if (did == TC_DEVICEID_BOOMERANG_10BT_COMBO)
sc->xl_xcvr = XL_XCVR_10BT;
#endif
xl_mediacheck(sc);
if (sc->xl_media & XL_MEDIAOPT_MII ||