summaryrefslogtreecommitdiffstats
path: root/drivers/net/forcedeth.c
diff options
context:
space:
mode:
authorTobias Diedrich <ranma+kernel@tdiedrich.de>2008-05-18 15:00:36 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-05-22 06:18:47 -0400
commit40ba182e3ca9f019f299ce5052fcd7e4cf68d11b (patch)
treea1394e066cb63bc33952ba04eeae2c32a3933e1c /drivers/net/forcedeth.c
parentaff26e2faa782e196f28b86d04b093fd3bae1ffb (diff)
downloadlinux-40ba182e3ca9f019f299ce5052fcd7e4cf68d11b.tar.gz
linux-40ba182e3ca9f019f299ce5052fcd7e4cf68d11b.tar.bz2
linux-40ba182e3ca9f019f299ce5052fcd7e4cf68d11b.zip
[netdrvr] forcedeth: Restore multicast settings on resume
nv_open() resets multicast settings, call nv_set_multicast(dev) to restore them. (Maybe this should rather be moved into nv_open()) Signed-off-by: Tobias Diedrich <ranma+kernel@tdiedrich.de> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/forcedeth.c')
-rw-r--r--drivers/net/forcedeth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c
index 35f66d4a4595..9eca97fb0a54 100644
--- a/drivers/net/forcedeth.c
+++ b/drivers/net/forcedeth.c
@@ -5823,6 +5823,7 @@ static int nv_resume(struct pci_dev *pdev)
writel(txreg, base + NvRegTransmitPoll);
rc = nv_open(dev);
+ nv_set_multicast(dev);
out:
return rc;
}