From: Ben Hutchings Date: Sun, 29 Nov 2009 03:42:18 +0000 (+0000) Subject: sfc: Turn pause frame generation on and off at the MAC, not the RX FIFO X-Git-Tag: v2.6.33-rc1~388^2~152 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b0d29dcfca9eafbf6e940862ab022df3ef2dd6f;p=pandora-kernel.git sfc: Turn pause frame generation on and off at the MAC, not the RX FIFO Pause frame generation is gated by both RX_XOFF_MAC_EN and an enable bit in each MAC. RX_XOFF_MAC_EN bit always reads back as 0 so we need to set it correctly every time we modify RX_CFG_REG. Simplify this by always setting it to 1 and only changing the enable bits in the MACs. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed