Skip to contentSkip to conversation

Add PPC440SP support to IBM EMAC driver

PATCH Applied Matt Porter 2 participants 2 messages Feb 1, 2005 – Feb 2, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add PPC440SP support to IBM EMAC driver

Configures EMAC thresholds appropriately for the EMAC on the PPC440SP.

===== drivers/net/ibm_emac/ibm_emac.h 1.3 vs edited =====

drivers/net/ibm_emac/ibm_emac.h +4 -0
@@ -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