Signed-off-by: Paul Butler <paul.but...@windriver.com> --- drivers/net/ethernet/lsi/lsi_acp_net.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/lsi/lsi_acp_net.c b/drivers/net/ethernet/lsi/lsi_acp_net.c index 1753efd..5244040 100644 --- a/drivers/net/ethernet/lsi/lsi_acp_net.c +++ b/drivers/net/ethernet/lsi/lsi_acp_net.c @@ -275,9 +275,9 @@ skip_first: return ret; } -#ifdef CONFIG_ARCH_AXXIA +#ifdef AMARILLO_WA /* - * For the Axxia AXM, set RX FIFO size to 0x7. + * For Amarillo, without the auto-negotiate ecn. */ { u16 val; @@ -298,6 +298,9 @@ skip_first: rc |= acp_mdio_read(phydev->addr, PHY_BCM_TEST_REG, &val); val &= ~0x80; rc |= acp_mdio_write(phydev->addr, PHY_BCM_TEST_REG, val); + + if (0 != rc) + return -EIO; } #endif netdev_info(dev, -- 1.8.4.3 _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto