]> git.sur5r.net Git - u-boot/commitdiff
net: axi_emac: Show phy address instead of register content
authorMichal Simek <michal.simek@xilinx.com>
Wed, 9 Dec 2015 09:54:53 +0000 (10:54 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 14:55:50 +0000 (15:55 +0100)
Fix debug message.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/xilinx_axi_emac.c

index 994affa66fc40d0d95e35df7e28d5ace40208fee..f08823008908196269d46efba8d182e936408cf0 100644 (file)
@@ -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;
                        }
                }