summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
diff options
context:
space:
mode:
authorRongQing.Li2012-04-27 21:53:41 +0200
committerDavid S. Miller2012-05-01 03:37:27 +0200
commitd344c4f3103c6faa1635b155d8f516e8a7e0aa4e (patch)
treea3384fbfcbc8aebe8065279c5744488ca8b59672 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
parentnet: makes skb_splice_bits() aware of skb->head_frag (diff)
downloadkernel-qcow2-linux-d344c4f3103c6faa1635b155d8f516e8a7e0aa4e.tar.gz
kernel-qcow2-linux-d344c4f3103c6faa1635b155d8f516e8a7e0aa4e.tar.xz
kernel-qcow2-linux-d344c4f3103c6faa1635b155d8f516e8a7e0aa4e.zip
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.c')
0 files changed, 0 insertions, 0 deletions