Signed-off-by: Michael Zaidman <michael.zaidman@gmail.com>
/* Get speed from basic control settings. */
return (bmcr & PHY_BMCR_100MB) ? _100BASET : _10BASET;
- miiphy_read_failed:
+miiphy_read_failed:
printf (" read failed, assuming 10BASE-T\n");
return _10BASET;
}
/* Get speed from basic control settings. */
return (bmcr & PHY_BMCR_DPLX) ? FULL : HALF;
- miiphy_read_failed:
+miiphy_read_failed:
printf (" read failed, assuming half duplex\n");
return HALF;
}