diff options
Diffstat (limited to 'drivers/net/sungem.c')
-rw-r--r-- | drivers/net/sungem.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index 869ac44c51f3..53b8344a68ef 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c | |||
@@ -2965,7 +2965,8 @@ static int __devinit gem_init_one(struct pci_dev *pdev, | |||
2965 | unsigned long gemreg_base, gemreg_len; | 2965 | unsigned long gemreg_base, gemreg_len; |
2966 | struct net_device *dev; | 2966 | struct net_device *dev; |
2967 | struct gem *gp; | 2967 | struct gem *gp; |
2968 | int i, err, pci_using_dac; | 2968 | int err, pci_using_dac; |
2969 | DECLARE_MAC_BUF(mac); | ||
2969 | 2970 | ||
2970 | if (gem_version_printed++ == 0) | 2971 | if (gem_version_printed++ == 0) |
2971 | printk(KERN_INFO "%s", version); | 2972 | printk(KERN_INFO "%s", version); |
@@ -3149,12 +3150,9 @@ static int __devinit gem_init_one(struct pci_dev *pdev, | |||
3149 | goto err_out_free_consistent; | 3150 | goto err_out_free_consistent; |
3150 | } | 3151 | } |
3151 | 3152 | ||
3152 | printk(KERN_INFO "%s: Sun GEM (PCI) 10/100/1000BaseT Ethernet ", | 3153 | printk(KERN_INFO "%s: Sun GEM (PCI) 10/100/1000BaseT Ethernet " |
3153 | dev->name); | 3154 | "%s\n", |
3154 | for (i = 0; i < 6; i++) | 3155 | dev->name, print_mac(mac, dev->dev_addr)); |
3155 | printk("%2.2x%c", dev->dev_addr[i], | ||
3156 | i == 5 ? ' ' : ':'); | ||
3157 | printk("\n"); | ||
3158 | 3156 | ||
3159 | if (gp->phy_type == phy_mii_mdio0 || | 3157 | if (gp->phy_type == phy_mii_mdio0 || |
3160 | gp->phy_type == phy_mii_mdio1) | 3158 | gp->phy_type == phy_mii_mdio1) |