skge: restore rx multicast filter on resume and after config changes
authorFlorian Zumbiehl <florz@florz.de>
Fri, 30 Dec 2011 17:30:09 +0000 (17:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Dec 2011 04:32:45 +0000 (23:32 -0500)
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>
drivers/net/ethernet/marvell/skge.c

index c7b60839ac9951caa4b3de0f0577bfd7d39bb1ca..dea0cb4400e25e20edbdd3fcf730d9280e23bb1a 100644 (file)
@@ -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: