]> err.no Git - linux-2.6/commitdiff
[PATCH] powerpc/cell spidernet burst alignment patch.
authorLinas Vepstas <linas@austin.ibm.com>
Tue, 10 Oct 2006 20:57:26 +0000 (15:57 -0500)
committerJeff Garzik <jeff@garzik.org>
Wed, 11 Oct 2006 08:04:25 +0000 (04:04 -0400)
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>
drivers/net/spider_net.h

index 6193ea836289474fe94ae27f445953f133657365..b2e3570c01066b909affa79b6c034d7fcd3853c7 100644 (file)
@@ -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