tg3: Fix crc errors on jumbo frame receive
commit01cc083b977577eae3e91372f868019efc39bfeb
authorNithin Nayak Sujir <nsujir@broadcom.com>
Mon, 14 Jan 2013 17:11:00 +0000 (14 17:11 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Feb 2013 18:47:37 +0000 (14 10:47 -0800)
treed5f40e7cab5c11d21e21399e3ec988401293c657
parent98d5919834d6091f0a4144ebd3c2c17f1b883d84
tg3: Fix crc errors on jumbo frame receive

[ Upstream commit daf3ec688e057f6060fb9bb0819feac7a8bbf45c ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/tg3.c