summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/8390/hydra.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/8390/hydra.c')
-rw-r--r--drivers/net/ethernet/8390/hydra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/8390/hydra.c b/drivers/net/ethernet/8390/hydra.c
index 3dac937a67c..5370c884620 100644
--- a/drivers/net/ethernet/8390/hydra.c
+++ b/drivers/net/ethernet/8390/hydra.c
@@ -129,7 +129,7 @@ static int __devinit hydra_init(struct zorro_dev *z)
if (!dev)
return -ENOMEM;
- for(j = 0; j < ETHER_ADDR_LEN; j++)
+ for (j = 0; j < ETH_ALEN; j++)
dev->dev_addr[j] = *((u8 *)(board + HYDRA_ADDRPROM + 2*j));
/* We must set the 8390 for word mode. */