diff options
author | RongQing.Li <roy.qing.li@gmail.com> | 2012-04-27 23:53:41 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-01 05:37:27 +0400 |
commit | d344c4f3103c6faa1635b155d8f516e8a7e0aa4e (patch) | |
tree | a3384fbfcbc8aebe8065279c5744488ca8b59672 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | |
parent | 1d0c0b328a63826b7c80c27d1c4f2b04e8225273 (diff) | |
download | linux-d344c4f3103c6faa1635b155d8f516e8a7e0aa4e.tar.xz |
pch_gbe: reprogram multicast address register on reset
The reset logic after a Rx FIFO overrun will clear the programmed
multicast addresses. This patch fixes the issue by reprogramming the
registers after the reset.
The commit eefc48b ("pch_gbe: reprogram multicast address register on
reset") tried to fix this problem, but it introduces unnecessary
codes. In fact, all multicast addresses have been saved in netdev->mc,
So we can call pch_gbe_set_multi() directly after reset_hw and
reset_rx.
This commit kills 50+ line codes
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Takahiro Shimizu <tshimizu818@gmail.com>
Signed-off-by: RongQing.Li <roy.qing.li@gmail.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h')
0 files changed, 0 insertions, 0 deletions