Correct 1000Mbps link handling logic for JMC250. This should make

jme(4) run on 1000Mbps link.
This commit is contained in:
Pyun YongHyeon 2008-07-18 04:20:48 +00:00
parent 6684d0ace3
commit 7a4e8171ba

View File

@ -2031,7 +2031,7 @@ jme_link_task(void *arg, int pending)
sc->jme_flags |= JME_FLAG_LINK;
break;
case IFM_1000_T:
if ((sc->jme_flags & JME_FLAG_FASTETH) == 0)
if ((sc->jme_flags & JME_FLAG_FASTETH) != 0)
break;
sc->jme_flags |= JME_FLAG_LINK;
break;