patch-2.2.18 linux/drivers/net/de4x5.c

Next file: linux/drivers/net/dmfe.c
Previous file: linux/drivers/net/daynaport.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/net/de4x5.c linux/drivers/net/de4x5.c
@@ -4165,7 +4165,7 @@
     /* If possible, try to fix a broken card - SMC only so far */
     srom_repair(dev, broken);
 
-#ifdef CONFIG_PMAC
+#ifdef CONFIG_POWERMAC
     /* 
     ** If the address starts with 00 a0, we have to bit-reverse
     ** each byte of the address.
@@ -4178,7 +4178,7 @@
 	    dev->dev_addr[i] = ((x & 0x55) << 1) + ((x & 0xaa) >> 1);
 	}
     }
-#endif /* CONFIG_PMAC */
+#endif /* CONFIG_POWERMAC */
 
     /* Test for a bad enet address */
     status = test_bad_enet(dev, status);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)