diff options
Diffstat (limited to 'drivers/net/ethernet/8390/hydra.c')
-rw-r--r-- | drivers/net/ethernet/8390/hydra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/8390/hydra.c b/drivers/net/ethernet/8390/hydra.c index 3dac937a67c4..5370c884620b 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) | |||
129 | if (!dev) | 129 | if (!dev) |
130 | return -ENOMEM; | 130 | return -ENOMEM; |
131 | 131 | ||
132 | for(j = 0; j < ETHER_ADDR_LEN; j++) | 132 | for (j = 0; j < ETH_ALEN; j++) |
133 | dev->dev_addr[j] = *((u8 *)(board + HYDRA_ADDRPROM + 2*j)); | 133 | dev->dev_addr[j] = *((u8 *)(board + HYDRA_ADDRPROM + 2*j)); |
134 | 134 | ||
135 | /* We must set the 8390 for word mode. */ | 135 | /* We must set the 8390 for word mode. */ |