From 40281a9ca21a6b6d7b996b4d4eeaa19026337231 Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Wed, 18 Mar 2009 12:27:04 +0900 Subject: [PATCH] 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 --- drivers/net/sh_eth.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index ebe858894c..bee3f0227b 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); } -- 2.39.5