]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
net: sh_eth: Remove sh_eth_reset() from halt function
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Wed, 18 Mar 2009 03:27:04 +0000 (12:27 +0900)
committerWolfgang Denk <wd@denx.de>
Fri, 20 Mar 2009 21:16:36 +0000 (22:16 +0100)
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

index ebe858894c275e17363342e08ddc7aa45bf79ef2..bee3f0227bc38fe000483049eb9af8e6722af885 100644 (file)
@@ -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);
 }