summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/skge.c
diff options
context:
space:
mode:
authorFlorian Zumbiehl <florz@florz.de>2011-12-30 21:30:09 +0400
committerDavid S. Miller <davem@davemloft.net>2011-12-31 08:32:45 +0400
commitfe3c8cc9226c7487c053edad9229dc85e93534d7 (patch)
tree03464412dfe99191c846eb4f0561b0dc4e30a27e /drivers/net/ethernet/marvell/skge.c
parentcd3109d23c32452c85d73cc1a01282846a23582c (diff)
downloadlinux-fe3c8cc9226c7487c053edad9229dc85e93534d7.tar.xz
skge: restore rx multicast filter on resume and after config changes
Restore skge hardware registers for multicast filtering to their appropriate values after system resume and after hardware restarts that are done when changing certain settings. Signed-off-by: Florian Zumbiehl <florz@florz.de> Acked-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/skge.c')
-rw-r--r--drivers/net/ethernet/marvell/skge.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/skge.c b/drivers/net/ethernet/marvell/skge.c
index c7b60839ac99..dea0cb4400e2 100644
--- a/drivers/net/ethernet/marvell/skge.c
+++ b/drivers/net/ethernet/marvell/skge.c
@@ -2606,6 +2606,9 @@ static int skge_up(struct net_device *dev)
spin_unlock_irq(&hw->hw_lock);
napi_enable(&skge->napi);
+
+ skge_set_multicast(dev);
+
return 0;
free_tx_ring: