summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2009-03-18 12:27:04 +0900
committerWolfgang Denk <wd@denx.de>2009-03-20 22:16:36 +0100
commit40281a9ca21a6b6d7b996b4d4eeaa19026337231 (patch)
treebb81748febb58f5371f8245bc0038ba2bc501068 /drivers
parentf8853d105da7d69bc92a5b4578f9b85234e558ec (diff)
downloadblackbird-obmc-uboot-40281a9ca21a6b6d7b996b4d4eeaa19026337231.tar.gz
blackbird-obmc-uboot-40281a9ca21a6b6d7b996b4d4eeaa19026337231.zip
net: sh_eth: Remove sh_eth_reset() from halt function
sh_eth_reset is function to reset Ether IP. The MAC address is stored in IP, but it is initialized by this function. OS (e.g. Linux Kernel) can not use this device when initialized. This revises this problem. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/sh_eth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
index ebe858894c..bee3f0227b 100644
--- a/drivers/net/sh_eth.c
+++ b/drivers/net/sh_eth.c
@@ -639,8 +639,6 @@ err:
void sh_eth_halt(struct eth_device *dev)
{
struct sh_eth_dev *eth = dev->priv;
-
- sh_eth_reset(eth);
sh_eth_stop(eth);
}
OpenPOWER on IntegriCloud