public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH to 2008.03] net: sh_eth: Remove sh_eth_reset() from halt function
@ 2009-03-18  3:27 Nobuhiro Iwamatsu
  2009-03-20  8:33 ` Nobuhiro Iwamatsu
  2009-03-20 21:16 ` Wolfgang Denk
  0 siblings, 2 replies; 4+ messages in thread
From: Nobuhiro Iwamatsu @ 2009-03-18  3:27 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-20 21:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-18  3:27 [U-Boot] [PATCH to 2008.03] net: sh_eth: Remove sh_eth_reset() from halt function Nobuhiro Iwamatsu
2009-03-20  8:33 ` Nobuhiro Iwamatsu
2009-03-20 21:17   ` Wolfgang Denk
2009-03-20 21:16 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox