summaryrefslogtreecommitdiffstats
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)
printk("%s: %s (ID %02x) at %#3x,", dev->name, name, board_id, ioaddr);
- for(i = 0; i < ETHER_ADDR_LEN; i++)
+ for(i = 0; i < ETH_ALEN; i++)
dev->dev_addr[i] = inb(ioaddr + i);
printk(" %pM", dev->dev_addr);