diff options
Diffstat (limited to 'drivers/net/tokenring/abyss.c')
-rw-r--r-- | drivers/net/tokenring/abyss.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/net/tokenring/abyss.c b/drivers/net/tokenring/abyss.c index 22fad5112406..124cfd4fbcf4 100644 --- a/drivers/net/tokenring/abyss.c +++ b/drivers/net/tokenring/abyss.c | |||
@@ -97,8 +97,9 @@ static int __devinit abyss_attach(struct pci_dev *pdev, const struct pci_device_ | |||
97 | static int versionprinted; | 97 | static int versionprinted; |
98 | struct net_device *dev; | 98 | struct net_device *dev; |
99 | struct net_local *tp; | 99 | struct net_local *tp; |
100 | int i, ret, pci_irq_line; | 100 | int ret, pci_irq_line; |
101 | unsigned long pci_ioaddr; | 101 | unsigned long pci_ioaddr; |
102 | DECLARE_MAC_BUF(mac); | ||
102 | 103 | ||
103 | if (versionprinted++ == 0) | 104 | if (versionprinted++ == 0) |
104 | printk("%s", version); | 105 | printk("%s", version); |
@@ -145,12 +146,9 @@ static int __devinit abyss_attach(struct pci_dev *pdev, const struct pci_device_ | |||
145 | } | 146 | } |
146 | 147 | ||
147 | abyss_read_eeprom(dev); | 148 | abyss_read_eeprom(dev); |
148 | 149 | ||
149 | printk("%s: Ring Station Address: ", dev->name); | 150 | printk("%s: Ring Station Address: %s\n", |
150 | printk("%2.2x", dev->dev_addr[0]); | 151 | dev->name, print_mac(mac, dev->dev_addr)); |
151 | for (i = 1; i < 6; i++) | ||
152 | printk(":%2.2x", dev->dev_addr[i]); | ||
153 | printk("\n"); | ||
154 | 152 | ||
155 | tp = netdev_priv(dev); | 153 | tp = netdev_priv(dev); |
156 | tp->setnselout = abyss_setnselout_pins; | 154 | tp->setnselout = abyss_setnselout_pins; |