]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5772cfb8bedd4f93f23b70291bae083069b5719c
tree24cd103a7a9553436d6c6fb8d0b4ef2b5281ca26
parente65aaf4b07e8336bd5d4ebe6d3ef26f16368d188
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