bnx2x: Proper netdev->ndo_set_rx_mode() implementation.
authorVladislav Zolotarov <vladz@broadcom.com>
Sun, 6 Feb 2011 19:25:41 +0000 (11:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Feb 2011 19:25:41 +0000 (11:25 -0800)
commit6e30dd4e3935ddb4e7dd27d5be7a6e5504e64a27
tree9ce171d9f20bec820fe1ca0ae565ffb474e8214f
parenta8c94b9188bf6012d9b6c3d37f324bd6c7d2924e
bnx2x: Proper netdev->ndo_set_rx_mode() implementation.

Completed the bnx2x_set_rx_mode() to a proper netdev->ndo_set_rx_mode
implementation:
 - Added a missing configuration of a unicast MAC addresses list.
 - Changed bp->dma_lock from being a mutex to a spinlock as long as it's taken
under netdev->addr_list_lock now.

Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x.h
drivers/net/bnx2x/bnx2x_cmn.c
drivers/net/bnx2x/bnx2x_main.c