diff options
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r-- | drivers/net/mv643xx_eth.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index c700c1f494e9..9d200568d88a 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -129,21 +129,21 @@ static char mv643xx_eth_driver_version[] = "1.1"; | |||
129 | /* | 129 | /* |
130 | * SDMA configuration register. | 130 | * SDMA configuration register. |
131 | */ | 131 | */ |
132 | #define RX_BURST_SIZE_4_64BIT (2 << 1) | 132 | #define RX_BURST_SIZE_16_64BIT (4 << 1) |
133 | #define BLM_RX_NO_SWAP (1 << 4) | 133 | #define BLM_RX_NO_SWAP (1 << 4) |
134 | #define BLM_TX_NO_SWAP (1 << 5) | 134 | #define BLM_TX_NO_SWAP (1 << 5) |
135 | #define TX_BURST_SIZE_4_64BIT (2 << 22) | 135 | #define TX_BURST_SIZE_16_64BIT (4 << 22) |
136 | 136 | ||
137 | #if defined(__BIG_ENDIAN) | 137 | #if defined(__BIG_ENDIAN) |
138 | #define PORT_SDMA_CONFIG_DEFAULT_VALUE \ | 138 | #define PORT_SDMA_CONFIG_DEFAULT_VALUE \ |
139 | RX_BURST_SIZE_4_64BIT | \ | 139 | RX_BURST_SIZE_16_64BIT | \ |
140 | TX_BURST_SIZE_4_64BIT | 140 | TX_BURST_SIZE_16_64BIT |
141 | #elif defined(__LITTLE_ENDIAN) | 141 | #elif defined(__LITTLE_ENDIAN) |
142 | #define PORT_SDMA_CONFIG_DEFAULT_VALUE \ | 142 | #define PORT_SDMA_CONFIG_DEFAULT_VALUE \ |
143 | RX_BURST_SIZE_4_64BIT | \ | 143 | RX_BURST_SIZE_16_64BIT | \ |
144 | BLM_RX_NO_SWAP | \ | 144 | BLM_RX_NO_SWAP | \ |
145 | BLM_TX_NO_SWAP | \ | 145 | BLM_TX_NO_SWAP | \ |
146 | TX_BURST_SIZE_4_64BIT | 146 | TX_BURST_SIZE_16_64BIT |
147 | #else | 147 | #else |
148 | #error One of __BIG_ENDIAN or __LITTLE_ENDIAN must be defined | 148 | #error One of __BIG_ENDIAN or __LITTLE_ENDIAN must be defined |
149 | #endif | 149 | #endif |