OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc88e45
)
ks8842: Remove unnecessary bank select.
author
Richard Röjfors
<richard.rojfors@pelagicore.com>
Fri, 9 Jul 2010 06:36:59 +0000
(23:36 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 9 Jul 2010 06:40:20 +0000
(23:40 -0700)
This patch removes an unnecessary bank select before resetting the
controller.
Signed-off-by: Richard Röjfors <richard.rojfors@pelagicore.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ks8842.c
patch
|
blob
|
history
diff --git
a/drivers/net/ks8842.c
b/drivers/net/ks8842.c
index
5191af2
..
0be9261
100644
(file)
--- a/
drivers/net/ks8842.c
+++ b/
drivers/net/ks8842.c
@@
-199,7
+199,6
@@
static void ks8842_reset(struct ks8842_adapter *adapter)
msleep(10);
iowrite16(0, adapter->hw_addr + REG_GRR);
*/
- iowrite16(32, adapter->hw_addr + REG_SELECT_BANK);
iowrite32(0x1, adapter->hw_addr + REG_TIMB_RST);
msleep(20);
}