Commit ae38ce02 authored by Matt Porter's avatar Matt Porter Committed by Jeff Garzik

[PATCH] Add PPC440SP support to IBM EMAC driver

Configures EMAC thresholds appropriately for the EMAC on the PPC440SP.
Signed-off-by: default avatarMatt Porter <mporter@kernel.crashing.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 1274fcd6
...@@ -237,6 +237,10 @@ typedef struct emac_regs { ...@@ -237,6 +237,10 @@ typedef struct emac_regs {
#define EMAC_RWMR_DEFAULT 0x1000a200 #define EMAC_RWMR_DEFAULT 0x1000a200
#define EMAC_TMR0_DEFAULT EMAC_TMR0_TFAE_2_32 #define EMAC_TMR0_DEFAULT EMAC_TMR0_TFAE_2_32
#define EMAC_TMR1_DEFAULT 0xa00f0000 #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 #else
#define EMAC_RWMR_DEFAULT 0x0f002000 #define EMAC_RWMR_DEFAULT 0x0f002000
#define EMAC_TMR0_DEFAULT 0x00000000 #define EMAC_TMR0_DEFAULT 0x00000000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment