ethernet: Convert ETHER_ADDR_LEN uses to ETH_ALEN
[deliverable/linux.git] / drivers / net / ethernet / 8390 / hp-plus.c
index eeac843dcd2df9f6298ca12e6e60aecfdff18975..d42938b6b596e32b6a00b6c562fa129cc3600d60 100644 (file)
@@ -202,7 +202,7 @@ static int __init hpp_probe1(struct net_device *dev, int ioaddr)
        /* Retrieve and checksum the station address. */
        outw(MAC_Page, ioaddr + HP_PAGING);
 
-       for(i = 0; i < ETHER_ADDR_LEN; i++) {
+       for(i = 0; i < ETH_ALEN; i++) {
                unsigned char inval = inb(ioaddr + 8 + i);
                dev->dev_addr[i] = inval;
                checksum += inval;
This page took 0.026142 seconds and 5 git commands to generate.