From: Nobuhiro Iwamatsu Date: Wed, 18 Mar 2009 03:27:04 +0000 (+0900) Subject: net: sh_eth: Remove sh_eth_reset() from halt function X-Git-Tag: v2009.03~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40281a9ca21a6b6d7b996b4d4eeaa19026337231;p=pandora-u-boot.git 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 --- diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index ebe858894c2..bee3f0227bc 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); }