diff --git a/drivers/net/phy/mv88e60xx.c b/drivers/net/phy/mv88e60xx.c index d605a09f89..9d55cc8533 100644 --- a/drivers/net/phy/mv88e60xx.c +++ b/drivers/net/phy/mv88e60xx.c @@ -792,7 +792,7 @@ static int mv88e60xx_phy_config_port(struct phy_device *phydev, u8 phy) { int val; - printf("mv88e60xx_phy_config_port\n"); +/* printf("mv88e60xx_phy_config_port\n"); */ val = mv88e60xx_port_enable(phydev, phy); if (val < 0) @@ -814,7 +814,7 @@ static int mv88e60xx_probe(struct phy_device *phydev) struct mv88e60xx_phy_priv *priv; int res; - printf("mv88e60xx_probe %p\n", phydev); +/* printf("mv88e60xx_probe %p\n", phydev); */ g_phydev = phydev; res = mv88e60xx_hw_reset(phydev); @@ -880,7 +880,7 @@ static int mv88e60xx_phy_config(struct phy_device *phydev) int i; int ret = -1; - printf("mv88e60xx_phy_config\n"); +/* printf("mv88e60xx_phy_config\n"); */ res = mv88e60xx_switch_init(phydev); if (res < 0) @@ -1079,14 +1079,15 @@ static int xmdio_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) (void)mv88e60xx_phy_write(g_phydev, phy, reg, (u16)val); } #endif +#if 0 /* TODO: Does not work as expected */ - for (int i=0; i<5; i++) { + for (i=0; i<5; i++) { /* Issue Re-Start Autoneg here directly */ printf("Hack: Manually set PHY %d to auto-net\n", i); (void)mv88e60xx_phy_write(g_phydev, i, 0, 0x9000); mdelay(50); } - +#endif return 0; } diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index ee077cb126..b8b9b04723 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -465,8 +465,6 @@ static LIST_HEAD(phy_drivers); int phy_init(void) { - puts("PHY init\n"); - #ifdef CONFIG_MV88E60XX_SWITCH phy_mv88e60xx_init(); #endif