Title: [9799] trunk/drivers/net/bfin_mac.c: netdev: bfin_mac: fix thinko in previous commit pointed out by Michael
Revision
9799
Author
vapier
Date
2011-03-28 04:39:15 -0400 (Mon, 28 Mar 2011)

Log Message

netdev: bfin_mac: fix thinko in previous commit pointed out by Michael

We need this to apply only to BF536/BF537.  I had a brain fart which made me delete the ifdef.

Modified Paths

Diff

Modified: trunk/drivers/net/bfin_mac.c (9798 => 9799)


--- trunk/drivers/net/bfin_mac.c	2011-03-28 08:15:37 UTC (rev 9798)
+++ trunk/drivers/net/bfin_mac.c	2011-03-28 08:39:15 UTC (rev 9799)
@@ -1237,6 +1237,7 @@
 
 	if (phydev->interface == PHY_INTERFACE_MODE_RMII) {
 		opmode |= RMII; /* For Now only 100MBit are supported */
+#if defined(CONFIG_BF537) || defined(CONFIG_BF536)
 		if (__SILICON_REVISION__ < 3) {
 			/*
 			 * This isn't publicly documented (fun times!), but in
@@ -1247,6 +1248,7 @@
 			 */
 			opmode |= TE;
 		}
+#endif
 	}
 
 	/* Turn on the EMAC rx */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to