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.
This commit is contained in:
Matt Jacob 2000-06-25 02:04:27 +00:00
parent 80940373ed
commit 55b59b50f2

View File

@ -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);