From: John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx> The AX88796B as installed on the X-Surf-100 does not recognize a MII reset request if the previous write to the MII control register also was a reset request. So a dummy write to the control register makes the soft reset in the PHY initialization code work. Signed-off-by: Michael Karcher <kernel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> --- drivers/net/ethernet/8390/ax88796.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/8390/ax88796.c b/drivers/net/ethernet/8390/ax88796.c index 6af9aca..a2f9a09 100644 --- a/drivers/net/ethernet/8390/ax88796.c +++ b/drivers/net/ethernet/8390/ax88796.c @@ -374,6 +374,10 @@ static int ax_mii_probe(struct net_device *dev) return -ENODEV; } + /* write a non-reset pattern to the control register to + * re-arm the reset request detection logic (needed on AX88796B) + */ + phy_write(phy_dev, MII_BMCR, 0); ret = phy_connect_direct(dev, phy_dev, ax_handle_link_change, PHY_INTERFACE_MODE_MII); if (ret) { -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html