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: v2025.01-rc5-pxa1908~10446^2~82 X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=2652a6219f975d47cc295f1e060fa54da84d761b;p=u-boot.git 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; } }