From 2652a6219f975d47cc295f1e060fa54da84d761b Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Wed, 9 Dec 2015 10:54:53 +0100 Subject: [PATCH] net: axi_emac: Show phy address instead of register content Fix debug message. Signed-off-by: Michal Simek Acked-by: Joe Hershberger --- drivers/net/xilinx_axi_emac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.39.5