aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/8390/hp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/8390/hp.c')
-rw-r--r--drivers/net/ethernet/8390/hp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/8390/hp.c b/drivers/net/ethernet/8390/hp.c
index 18564d4a7c04..113f1e075a26 100644
--- a/drivers/net/ethernet/8390/hp.c
+++ b/drivers/net/ethernet/8390/hp.c
@@ -156,7 +156,7 @@ static int __init hp_probe1(struct net_device *dev, int ioaddr)
156 156
157 printk("%s: %s (ID %02x) at %#3x,", dev->name, name, board_id, ioaddr); 157 printk("%s: %s (ID %02x) at %#3x,", dev->name, name, board_id, ioaddr);
158 158
159 for(i = 0; i < ETHER_ADDR_LEN; i++) 159 for(i = 0; i < ETH_ALEN; i++)
160 dev->dev_addr[i] = inb(ioaddr + i); 160 dev->dev_addr[i] = inb(ioaddr + i);
161 161
162 printk(" %pM", dev->dev_addr); 162 printk(" %pM", dev->dev_addr);