tg3: Fix crc errors on jumbo frame receive
authorNithin Nayak Sujir <nsujir@broadcom.com>
Mon, 14 Jan 2013 17:11:00 +0000 (17:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jan 2013 03:09:29 +0000 (22:09 -0500)
commitdaf3ec688e057f6060fb9bb0819feac7a8bbf45c
tree24cd103a7a9553436d6c6fb8d0b4ef2b5281ca26
parent9c13cb8bb477a83b9a3c9e5a5478a4e21294a760
tg3: Fix crc errors on jumbo frame receive

TG3_PHY_AUXCTL_SMDSP_ENABLE/DISABLE macros do a blind write to the phy
auxiliary control register and overwrite the EXT_PKT_LEN (bit 14) resulting
in intermittent crc errors on jumbo frames with some link partners. Change
the code to do a read/modify/write.

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c