summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorDavid Lv <DavidLv@viatech.com.cn>2012-02-05 00:22:26 +0100
committerDavid S. Miller <davem@davemloft.net>2012-02-05 23:47:09 +0100
commitb530b1930bbd9d005345133f0ff0c556d2a52b19 (patch)
treec262ab2706a67a5aad50fa95cdaaa6df29a5e418 /drivers/net/ethernet
parentipv4: reset flowi parameters on route connect (diff)
downloadlinux-b530b1930bbd9d005345133f0ff0c556d2a52b19.tar.xz
linux-b530b1930bbd9d005345133f0ff0c556d2a52b19.zip
via-velocity: S3 resume fix.
Initially diagnosed on Ubuntu 11.04 with kernel 2.6.38. velocity_close is not called during a suspend / resume cycle in this driver and it has no business playing directly with power states. Signed-off-by: David Lv <DavidLv@viatech.com.cn> Acked-by: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/via/via-velocity.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/via/via-velocity.c b/drivers/net/ethernet/via/via-velocity.c
index 4128d6b8cc28..cb35b14b73bb 100644
--- a/drivers/net/ethernet/via/via-velocity.c
+++ b/drivers/net/ethernet/via/via-velocity.c
@@ -2491,9 +2491,6 @@ static int velocity_close(struct net_device *dev)
if (dev->irq != 0)
free_irq(dev->irq, dev);
- /* Power down the chip */
- pci_set_power_state(vptr->pdev, PCI_D3hot);
-
velocity_free_rings(vptr);
vptr->flags &= (~VELOCITY_FLAGS_OPENED);