diff options
Diffstat (limited to 'drivers/net/hp.c')
-rw-r--r-- | drivers/net/hp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/hp.c b/drivers/net/hp.c index 1f11126de354..c649a8019beb 100644 --- a/drivers/net/hp.c +++ b/drivers/net/hp.c | |||
@@ -127,6 +127,7 @@ static int __init hp_probe1(struct net_device *dev, int ioaddr) | |||
127 | int i, retval, board_id, wordmode; | 127 | int i, retval, board_id, wordmode; |
128 | const char *name; | 128 | const char *name; |
129 | static unsigned version_printed; | 129 | static unsigned version_printed; |
130 | DECLARE_MAC_BUF(mac); | ||
130 | 131 | ||
131 | if (!request_region(ioaddr, HP_IO_EXTENT, DRV_NAME)) | 132 | if (!request_region(ioaddr, HP_IO_EXTENT, DRV_NAME)) |
132 | return -EBUSY; | 133 | return -EBUSY; |
@@ -158,7 +159,9 @@ static int __init hp_probe1(struct net_device *dev, int ioaddr) | |||
158 | printk("%s: %s (ID %02x) at %#3x,", dev->name, name, board_id, ioaddr); | 159 | printk("%s: %s (ID %02x) at %#3x,", dev->name, name, board_id, ioaddr); |
159 | 160 | ||
160 | for(i = 0; i < ETHER_ADDR_LEN; i++) | 161 | for(i = 0; i < ETHER_ADDR_LEN; i++) |
161 | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); | 162 | dev->dev_addr[i] = inb(ioaddr + i); |
163 | |||
164 | printk(" %s", print_mac(mac, dev->dev_addr)); | ||
162 | 165 | ||
163 | /* Snarf the interrupt now. Someday this could be moved to open(). */ | 166 | /* Snarf the interrupt now. Someday this could be moved to open(). */ |
164 | if (dev->irq < 2) { | 167 | if (dev->irq < 2) { |