Browse Source

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>
Nobuhiro Iwamatsu 16 năm trước cách đây
mục cha
commit
40281a9ca2
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      drivers/net/sh_eth.c

+ 0 - 2
drivers/net/sh_eth.c

@@ -639,8 +639,6 @@ err:
 void sh_eth_halt(struct eth_device *dev)
 void sh_eth_halt(struct eth_device *dev)
 {
 {
 	struct sh_eth_dev *eth = dev->priv;
 	struct sh_eth_dev *eth = dev->priv;
-
-	sh_eth_reset(eth);
 	sh_eth_stop(eth);
 	sh_eth_stop(eth);
 }
 }