summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/8390/ne-h8300.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/8390/ne-h8300.c')
-rw-r--r--drivers/net/ethernet/8390/ne-h8300.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/8390/ne-h8300.c b/drivers/net/ethernet/8390/ne-h8300.c
index cd36a6a..9b9c77d 100644
--- a/drivers/net/ethernet/8390/ne-h8300.c
+++ b/drivers/net/ethernet/8390/ne-h8300.c
@@ -312,7 +312,7 @@ static int __init ne_probe1(struct net_device *dev, int ioaddr)
dev->base_addr = ioaddr;
- for(i = 0; i < ETHER_ADDR_LEN; i++)
+ for (i = 0; i < ETH_ALEN; i++)
dev->dev_addr[i] = SA_prom[i];
printk(" %pM\n", dev->dev_addr);
OpenPOWER on IntegriCloud