diff options
author | Jens Osterkamp <jens@de.ibm.com> | 2006-07-13 11:54:23 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-07-17 13:30:12 -0400 |
commit | ee962a5cee5b534666dbfa5e3ec3c633c90c6b1a (patch) | |
tree | 34fa0b475ab7e8632bca67c406b6c82df1db7bcb /drivers/net/spider_net.c | |
parent | caa0371e8b7391919d984672c887f660a6117f67 (diff) | |
download | op-kernel-dev-ee962a5cee5b534666dbfa5e3ec3c633c90c6b1a.zip op-kernel-dev-ee962a5cee5b534666dbfa5e3ec3c633c90c6b1a.tar.gz |
[PATCH] spidernet: bug fix for init code
We want to intitialize addr instead of data register first.
Signed-off-by: Jens Osterkamp <Jens.Osterkamp@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/spider_net.c')
-rw-r--r-- | drivers/net/spider_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index fb1d5a8..05b474f 100644 --- a/drivers/net/spider_net.c +++ b/drivers/net/spider_net.c @@ -1938,7 +1938,7 @@ spider_net_workaround_rxramfull(struct spider_net_card *card) /* empty sequencer data */ for (sequencer = 0; sequencer < SPIDER_NET_FIRMWARE_SEQS; sequencer++) { - spider_net_write_reg(card, SPIDER_NET_GSnPRGDAT + + spider_net_write_reg(card, SPIDER_NET_GSnPRGADR + sequencer * 8, 0x0); for (i = 0; i < SPIDER_NET_FIRMWARE_SEQWORDS; i++) { spider_net_write_reg(card, SPIDER_NET_GSnPRGDAT + |