Skip to content

Commit

Permalink
spidernet: introduce new setting
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jens Osterkamp authored and Stephen Hemminger committed May 8, 2006
1 parent aedc0e5 commit b636d17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/spider_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down
2 changes: 2 additions & 0 deletions drivers/net/spider_net.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b636d17

Please sign in to comment.