summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/8390/es3210.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/8390/es3210.c')
-rw-r--r--drivers/net/ethernet/8390/es3210.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/8390/es3210.c b/drivers/net/ethernet/8390/es3210.c
index 7a09575ecff0..6428f9e7a554 100644
--- a/drivers/net/ethernet/8390/es3210.c
+++ b/drivers/net/ethernet/8390/es3210.c
@@ -195,7 +195,7 @@ static int __init es_probe1(struct net_device *dev, int ioaddr)
goto out;
}
- for (i = 0; i < ETHER_ADDR_LEN ; i++)
+ for (i = 0; i < ETH_ALEN ; i++)
dev->dev_addr[i] = inb(ioaddr + ES_SA_PROM + i);
/* Check the Racal vendor ID as well. */