r8169: Preserve other Device Control bits when setting NOSNOOP_EN
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Aug 2012 16:29:42 +0000 (10:29 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Aug 2012 16:11:12 +0000 (10:11 -0600)
commit8200bc72a88cbb63ee13d7f9f16ec4f7249c2ec2
treec46a995658d0bd23be07409512108549d83b5ece
parent7d7903b2a2e0c87151f8891e67c4c36a86f3fe83
r8169: Preserve other Device Control bits when setting NOSNOOP_EN

Previously, when we turned on the "Enable No Snoop Bit," we cleared all
the other Device Control bits, including error reporting enables,
Max_Payload_Size, Max_Read_Request_Size, etc.  This patch preserves
all the other bits.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/net/ethernet/realtek/r8169.c