diff options
author | Richard Röjfors <richard.rojfors@pelagicore.com> | 2010-07-08 23:36:59 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-08 23:40:20 -0700 |
commit | 3038bdb122c8aa2b219b548a345aafb1204c4f0b (patch) | |
tree | 66166e23db9d729f14c97ae6fc1d35820150ee8c /drivers/net/ks8842.c | |
parent | cc88e450ad14a79fd2d083f0827607499cf1ef51 (diff) | |
download | op-kernel-dev-3038bdb122c8aa2b219b548a345aafb1204c4f0b.zip op-kernel-dev-3038bdb122c8aa2b219b548a345aafb1204c4f0b.tar.gz |
ks8842: Remove unnecessary bank select.
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>
Diffstat (limited to 'drivers/net/ks8842.c')
-rw-r--r-- | drivers/net/ks8842.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ks8842.c b/drivers/net/ks8842.c index 5191af2..0be9261 100644 --- 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); } |