ibm_emac missed fix
PATCH 1/1 ibm_emac missed fix
The following minor fix was posted here some months ago but hasn't found its way in to 2.6.10 or current bk.
Signed-off-by Ralph Siemsen <[email protected]>
drivers/net/ibm_emac/ibm_emac_core.c +3 -2
@@ -475,8 +479,9 @@out_be32 (&emacp->em0stacr, stacr); -while (((stacr =in_be32 (&emacp->em0stacr) &EMAC_STACR_OC ) ==0 ) - && (count++ <5000 )) + count =0 ; +while ((((stacr =in_be32 (&emacp->em0stacr)) &EMAC_STACR_OC ) ==0 ) + && (count++ <MDIO_DELAY ))udelay (1 );MDIO_DEBUG ((" (count was %d)\n" , count));