]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: Handle rxfifo errors on 8168 chips
authorMatthew Garrett <mjg@redhat.com>
Tue, 14 Sep 2010 11:57:11 +0000 (11:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Sep 2010 02:32:59 +0000 (19:32 -0700)
commitb06826e717f5fcf9246b7cd13a99f08c0375acf6
treef7a4311cb18dc09387ebbf90e5917baf229dc5a5
parent8fba265a13410d3b76c7156cb261d94dfda48b2d
r8169: Handle rxfifo errors on 8168 chips

The Thinkpad X100e seems to have some odd behaviour when the display is
powered off - the onboard r8169 starts generating rxfifo overflow errors.
The root cause of this has not yet been identified and may well be a
hardware design bug on the platform, but r8169 should be more resiliant to
this. This patch enables the rxfifo interrupt on 8168 devices and removes
the MAC version check in the interrupt handler, and the machine no longer
crashes when under network load while the screen turns off.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c