]> bbs.cooldavid.org Git - net-next-2.6.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)
commit801e147cde02f04b5c2f42764cd43a89fc7400a2
treef7a4311cb18dc09387ebbf90e5917baf229dc5a5
parent84176b7b56704580e008e6cb820dd4ccf622a1fd
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