From: Michal Simek Date: Wed, 9 Dec 2015 09:54:53 +0000 (+0100) Subject: net: axi_emac: Show phy address instead of register content X-Git-Tag: v2016.03-rc1~46^2~82 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2652a6219f975d47cc295f1e060fa54da84d761b;p=u-boot net: axi_emac: Show phy address instead of register content Fix debug message. Signed-off-by: Michal Simek Acked-by: Joe Hershberger --- diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index 994affa66f..f088230089 100644 --- a/drivers/net/xilinx_axi_emac.c +++ b/drivers/net/xilinx_axi_emac.c @@ -243,7 +243,7 @@ static int setup_phy(struct eth_device *dev) /* Found a valid PHY address */ priv->phyaddr = i; debug("axiemac: Found valid phy address, %x\n", - phyreg); + i); break; } }