[PATCH][NET] Add PPC440SP support to IBM EMAC driver

Matt Porter mporter at kernel.crashing.org
Tue Feb 1 11:10:09 EST 2005


Configures EMAC thresholds appropriately for the EMAC on the
PPC440SP.

Signed-off-by: Matt Porter <mporter at kernel.crashing.org>

===== drivers/net/ibm_emac/ibm_emac.h 1.3 vs edited =====
--- 1.3/drivers/net/ibm_emac/ibm_emac.h	2004-08-24 12:19:41 -07:00
+++ edited/drivers/net/ibm_emac/ibm_emac.h	2005-01-31 17:08:40 -07:00
@@ -237,6 +237,10 @@
 #define EMAC_RWMR_DEFAULT		0x1000a200
 #define EMAC_TMR0_DEFAULT		EMAC_TMR0_TFAE_2_32
 #define EMAC_TMR1_DEFAULT		0xa00f0000
+#elif defined(CONFIG_440SP)
+#define EMAC_RWMR_DEFAULT		0x08002000
+#define EMAC_TMR0_DEFAULT		EMAC_TMR0_TFAE_128_2048
+#define EMAC_TMR1_DEFAULT		0xf8200000
 #else
 #define EMAC_RWMR_DEFAULT		0x0f002000
 #define EMAC_TMR0_DEFAULT		0x00000000



More information about the Linuxppc-embedded mailing list