[U-Boot] [PATCH to 2008.03] net: sh_eth: Remove sh_eth_reset() from halt function

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Fri Mar 20 09:33:24 CET 2009


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 at 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 at 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 at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 


-- 
Nobuhiro Iwamatsu
	hemamu at t-base.ne.jp
	iwamatsu at debian.or.jp

	GPG ID : 3170EBE9


More information about the U-Boot mailing list