aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mv643xx_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r--drivers/net/mv643xx_eth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index 34df02cfdbe7..e379165d8375 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -784,6 +784,7 @@ static int mv643xx_eth_open(struct net_device *dev)
784 unsigned int port_num = mp->port_num; 784 unsigned int port_num = mp->port_num;
785 unsigned int size; 785 unsigned int size;
786 int err; 786 int err;
787 DECLARE_MAC_BUF(mac);
787 788
788 /* Clear any pending ethernet port interrupts */ 789 /* Clear any pending ethernet port interrupts */
789 mv_write(MV643XX_ETH_INTERRUPT_CAUSE_REG(port_num), 0); 790 mv_write(MV643XX_ETH_INTERRUPT_CAUSE_REG(port_num), 0);
@@ -1413,8 +1414,8 @@ static int mv643xx_eth_probe(struct platform_device *pdev)
1413 1414
1414 p = dev->dev_addr; 1415 p = dev->dev_addr;
1415 printk(KERN_NOTICE 1416 printk(KERN_NOTICE
1416 "%s: port %d with MAC address %02x:%02x:%02x:%02x:%02x:%02x\n", 1417 "%s: port %d with MAC address %s\n",
1417 dev->name, port_num, p[0], p[1], p[2], p[3], p[4], p[5]); 1418 dev->name, port_num, print_mac(mac, p));
1418 1419
1419 if (dev->features & NETIF_F_SG) 1420 if (dev->features & NETIF_F_SG)
1420 printk(KERN_NOTICE "%s: Scatter Gather Enabled\n", dev->name); 1421 printk(KERN_NOTICE "%s: Scatter Gather Enabled\n", dev->name);