summaryrefslogtreecommitdiffstats
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
parentf8853d105da7d69bc92a5b4578f9b85234e558ec (diff)
downloadbootable_bootloader_goldelico_gta04-40281a9ca21a6b6d7b996b4d4eeaa19026337231.zip
bootable_bootloader_goldelico_gta04-40281a9ca21a6b6d7b996b4d4eeaa19026337231.tar.gz
bootable_bootloader_goldelico_gta04-40281a9ca21a6b6d7b996b4d4eeaa19026337231.tar.bz2
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>
-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 ebe8588..bee3f02 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);
}