summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2006-10-11 00:57:26 +0400
committerJeff Garzik <jeff@garzik.org>2006-10-11 12:04:25 +0400
commita02d601dd59d08a77563499cc05b48603df8f4a4 (patch)
treec2a97e2217d0d5149f73e497b5ae4a08746e349e
parent90f10841180e9b7938f63db69e90dacb7d21bbe5 (diff)
downloadlinux-a02d601dd59d08a77563499cc05b48603df8f4a4.tar.xz
[PATCH] powerpc/cell spidernet burst alignment patch.
This patch increases the Burst Address alignment from 64 to 1024 in the Spidernet driver. This improves transmit performance for large packets. From: James K Lewis <jklewis@us.ibm.com> Signed-off-by: James K Lewis <jklewis@us.ibm.com> Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/net/spider_net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/spider_net.h b/drivers/net/spider_net.h
index 6193ea836289..b2e3570c0106 100644
--- a/drivers/net/spider_net.h
+++ b/drivers/net/spider_net.h
@@ -211,7 +211,7 @@ extern char spider_net_driver_name[];
#define SPIDER_NET_DMA_RX_FEND_VALUE 0x00030003
/* to set TX_DMA_EN */
#define SPIDER_NET_TX_DMA_EN 0x80000000
-#define SPIDER_NET_GDTDCEIDIS 0x00000002
+#define SPIDER_NET_GDTDCEIDIS 0x00000302
#define SPIDER_NET_DMA_TX_VALUE SPIDER_NET_TX_DMA_EN | \
SPIDER_NET_GDTDCEIDIS
#define SPIDER_NET_DMA_TX_FEND_VALUE 0x00030003