summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/8390/ne3210.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-11-16 10:38:03 +0100
committerDavid S. Miller <davem@davemloft.net>2011-11-17 02:23:17 +0100
commit104bf3fb963cbc39c6675b23d46d2c9ab3f311d8 (patch)
treec0f07ad8b1b299ce56e091f573fbfcab9959679d /drivers/net/ethernet/8390/ne3210.c
parentethernet: Convert MAC_ADDR_LEN uses to ETH_ALEN (diff)
downloadlinux-104bf3fb963cbc39c6675b23d46d2c9ab3f311d8.tar.xz
linux-104bf3fb963cbc39c6675b23d46d2c9ab3f311d8.zip
ethernet: Convert ETHER_ADDR_LEN uses to ETH_ALEN
Reduce the number of #defines, use the normal #define from if_ether.h Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/8390/ne3210.c')
-rw-r--r--drivers/net/ethernet/8390/ne3210.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/8390/ne3210.c b/drivers/net/ethernet/8390/ne3210.c
index 243ed2aee88e..2a3e8057feae 100644
--- a/drivers/net/ethernet/8390/ne3210.c
+++ b/drivers/net/ethernet/8390/ne3210.c
@@ -125,7 +125,7 @@ static int __init ne3210_eisa_probe (struct device *device)
#endif
port_index = inb(ioaddr + NE3210_CFG2) >> 6;
- for(i = 0; i < ETHER_ADDR_LEN; i++)
+ for (i = 0; i < ETH_ALEN; i++)
dev->dev_addr[i] = inb(ioaddr + NE3210_SA_PROM + i);
printk("ne3210.c: NE3210 in EISA slot %d, media: %s, addr: %pM.\n",
edev->slot, ifmap[port_index], dev->dev_addr);