aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/rrunner.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/rrunner.c')
-rw-r--r--drivers/net/rrunner.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/rrunner.c b/drivers/net/rrunner.c
index 03facba05259..19152f54ef2b 100644
--- a/drivers/net/rrunner.c
+++ b/drivers/net/rrunner.c
@@ -520,7 +520,7 @@ static int __devinit rr_init(struct net_device *dev)
520 struct rr_regs __iomem *regs; 520 struct rr_regs __iomem *regs;
521 struct eeprom *hw = NULL; 521 struct eeprom *hw = NULL;
522 u32 sram_size, rev; 522 u32 sram_size, rev;
523 int i; 523 DECLARE_MAC_BUF(mac);
524 524
525 rrpriv = netdev_priv(dev); 525 rrpriv = netdev_priv(dev);
526 regs = rrpriv->regs; 526 regs = rrpriv->regs;
@@ -558,11 +558,7 @@ static int __devinit rr_init(struct net_device *dev)
558 *(u32 *)(dev->dev_addr+2) = 558 *(u32 *)(dev->dev_addr+2) =
559 htonl(rr_read_eeprom_word(rrpriv, &hw->manf.BoardULA[4])); 559 htonl(rr_read_eeprom_word(rrpriv, &hw->manf.BoardULA[4]));
560 560
561 printk(" MAC: "); 561 printk(" MAC: %s\n", print_mac(mac, dev->dev_addr));
562
563 for (i = 0; i < 5; i++)
564 printk("%2.2x:", dev->dev_addr[i]);
565 printk("%2.2x\n", dev->dev_addr[i]);
566 562
567 sram_size = rr_read_eeprom_word(rrpriv, (void *)8); 563 sram_size = rr_read_eeprom_word(rrpriv, (void *)8);
568 printk(" SRAM size 0x%06x\n", sram_size); 564 printk(" SRAM size 0x%06x\n", sram_size);