diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-29 03:42:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 16:46:26 -0800 |
commit | 4b0d29dcfca9eafbf6e940862ab022df3ef2dd6f (patch) | |
tree | 13af38825d9c0f290f6486f2ae38dc8c55061723 /scripts | |
parent | 674979d33566ab7e524e25fdc227923e27a3fb78 (diff) | |
download | linux-3.10-4b0d29dcfca9eafbf6e940862ab022df3ef2dd6f.tar.gz linux-3.10-4b0d29dcfca9eafbf6e940862ab022df3ef2dd6f.tar.bz2 linux-3.10-4b0d29dcfca9eafbf6e940862ab022df3ef2dd6f.zip |
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 <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions