]> err.no Git - linux-2.6/blobdiff - drivers/net/tulip/de4x5.c
[PATCH] sata_via: convert to new EH, take #3
[linux-2.6] / drivers / net / tulip / de4x5.c
index d1a86a080a65f5438fb103f38bbe597de59cbfc5..f56094102042fabbe7f944b50c72fa03dfd1e438 100644 (file)
@@ -4160,7 +4160,7 @@ get_hw_addr(struct net_device *dev)
     ** If the address starts with 00 a0, we have to bit-reverse
     ** each byte of the address.
     */
-    if ( (_machine & _MACH_Pmac) &&
+    if ( machine_is(powermac) &&
         (dev->dev_addr[0] == 0) &&
         (dev->dev_addr[1] == 0xa0) )
     {