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 994affa..f088230 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;
                        }
                }