[U-Boot] [PATCH to 2008.03] 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 --- drivers/net/sh_eth.c | 2 -- 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); }

Hi,
Sorry, Please take this patch in 2009.03 not 2008.03.
Best regards, Nobuhiro
On Wed, 18 Mar 2009 12:27:04 +0900 Nobuhiro Iwamatsu iwamatsu.nobuhiro@renesas.com wrote:
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
drivers/net/sh_eth.c | 2 -- 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);
}
-- 1.6.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Dear Nobuhiro Iwamatsu,
In message 20090320173324.3c9d6040.iwamatsu@nigauri.org you wrote:
Sorry, Please take this patch in 2009.03 not 2008.03.
Done, thanks for pointing out.
Best regards,
Wolfgang Denk

Dear Nobuhiro Iwamatsu,
In message 49C06A08.8040509@renesas.com you wrote:
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
drivers/net/sh_eth.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
participants (3)
-
Nobuhiro Iwamatsu
-
Nobuhiro Iwamatsu
-
Wolfgang Denk