summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2000-06-25 02:04:27 +0000
committermjacob <mjacob@FreeBSD.org>2000-06-25 02:04:27 +0000
commitacfd9366b4e302fec1a5ca64784bff6d03263c1b (patch)
treec7c059460a08a36b55f8c78b98f3fa4edb6b7d6e /sys/pci
parent4a7942d0d59635920bf252851ba12bc3ffd3c846 (diff)
downloadFreeBSD-src-acfd9366b4e302fec1a5ca64784bff6d03263c1b.zip
FreeBSD-src-acfd9366b4e302fec1a5ca64784bff6d03263c1b.tar.gz
If swdpio1 doesn't clear, we have a reversed (or disconnected) cable. Change
the message to indicate that it could also be a disconnected cable, and return okay from wx_hw_intialize *anyway*. This allows us to contineu to set the station address and when we do get link up, we're ready to roll.
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_wx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/if_wx.c b/sys/pci/if_wx.c
index 09fb47b..a93b97a 100644
--- a/sys/pci/if_wx.c
+++ b/sys/pci/if_wx.c
@@ -1699,9 +1699,9 @@ wx_hw_initialize(sc)
}
sc->ane_failed = 0;
} else {
- printf("%s: swdpio1 did not clear- check for reversed cable\n",
- sc->wx_name);
- return (-1);
+ printf("%s: swdpio1 did not clear- check for reversed or "
+ "disconnected cable\n", sc->wx_name);
+ /* but return okay anyway */
}
sc->wx_ienable = WXIENABLE_DEFAULT;
return (0);
OpenPOWER on IntegriCloud