aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/8390/stnic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/8390/stnic.c')
-rw-r--r--drivers/net/ethernet/8390/stnic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/8390/stnic.c b/drivers/net/ethernet/8390/stnic.c
index d85f0a84bc7b..3b903759980a 100644
--- a/drivers/net/ethernet/8390/stnic.c
+++ b/drivers/net/ethernet/8390/stnic.c
@@ -114,7 +114,7 @@ static int __init stnic_probe(void)
114#ifdef CONFIG_SH_STANDARD_BIOS 114#ifdef CONFIG_SH_STANDARD_BIOS
115 sh_bios_get_node_addr (stnic_eadr); 115 sh_bios_get_node_addr (stnic_eadr);
116#endif 116#endif
117 for (i = 0; i < ETHER_ADDR_LEN; i++) 117 for (i = 0; i < ETH_ALEN; i++)
118 dev->dev_addr[i] = stnic_eadr[i]; 118 dev->dev_addr[i] = stnic_eadr[i];
119 119
120 /* Set the base address to point to the NIC, not the "real" base! */ 120 /* Set the base address to point to the NIC, not the "real" base! */