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

From: Matt Porter <[email-masked]>
Date: Mon, 31 Jan 2005 17:10:09 -0700

Configures EMAC thresholds appropriately for the EMAC on the
PPC440SP.

Signed-off-by: Matt Porter <[email-masked]>

===== 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