Explorar o código

net: axi_emac: Show phy address instead of register content

Fix debug message.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Michal Simek %!s(int64=9) %!d(string=hai) anos
pai
achega
2652a6219f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/net/xilinx_axi_emac.c

+ 1 - 1
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;
 			}
 		}