]> err.no Git - linux-2.6/commitdiff
spidernet: introduce new setting
authorJens Osterkamp <jens.osterkamp@de.ibm.com>
Thu, 4 May 2006 09:59:56 +0000 (05:59 -0400)
committerStephen Hemminger <shemminger@osdl.org>
Mon, 8 May 2006 23:01:11 +0000 (16:01 -0700)
We found a new chip setting that we need in order
to make the driver work more reliable.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
drivers/net/spider_net.c
drivers/net/spider_net.h

index 43f5e86fc55937e8d81d62f263a4e9c6a272ffa3..b36838bfb8dcf77b58b3bf6b9d7e8412743d5132 100644 (file)
@@ -1652,6 +1652,8 @@ spider_net_enable_card(struct spider_net_card *card)
                { SPIDER_NET_GFTRESTRT, SPIDER_NET_RESTART_VALUE },
 
                { SPIDER_NET_GMRWOLCTRL, 0 },
+               { SPIDER_NET_GTESTMD, 0x10000000 },
+               { SPIDER_NET_GTTQMSK, 0x00400040 },
                { SPIDER_NET_GTESTMD, 0 },
 
                { SPIDER_NET_GMACINTEN, 0 },
index 5922b529a04866991ed3dfeb875c46396e0962ee..3b8d951cf73c62c641fec8372e8ed9e21b2821c3 100644 (file)
@@ -120,6 +120,8 @@ extern char spider_net_driver_name[];
 #define SPIDER_NET_GMRUAFILnR          0x00000500
 #define SPIDER_NET_GMRUA0FIL15R                0x00000578
 
+#define SPIDER_NET_GTTQMSK             0x00000934
+
 /* RX DMA controller registers, all 0x00000a.. are for DMA controller A,
  * 0x00000b.. for DMA controller B, etc. */
 #define SPIDER_NET_GDADCHA             0x00000a00