From: RongQing.Li Date: Fri, 27 Apr 2012 19:53:41 +0000 (+0000) Subject: pch_gbe: reprogram multicast address register on reset X-Git-Tag: v3.5-rc1~109^2~232 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d344c4f3103c6faa1635b155d8f516e8a7e0aa4e;p=pandora-kernel.git 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 Cc: Takahiro Shimizu Signed-off-by: RongQing.Li Acked-by: Richard Cochran Signed-off-by: David S. Miller --- Reading git-diff-tree failed