Add PPC440SP support to IBM EMAC driver
Subsystems (2)
PATCH 1/1 Add PPC440SP support to IBM EMAC driver
Configures EMAC thresholds appropriately for the EMAC on the PPC440SP.
Signed-off-by Matt Porter <[email protected]>
===== 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
Jeff Garzik
Appliedapplied