From: Karsten Wiese Date: Thu, 2 Apr 2009 08:06:01 +0000 (-0700) Subject: r8169: reset IntrStatus after chip reset X-Git-Tag: v2.6.30-rc1~246^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d78ad8cbfe73ad568de38814a75e9c92ad0a907c;p=pandora-kernel.git r8169: reset IntrStatus after chip reset Original comment (Karsten): On a MSI MS-6702E mainboard, when in rtl8169_init_one() for the first time after BIOS has run, IntrStatus reads 5 after chip has been reset. IntrStatus should equal 0 there, so patch changes IntrStatus reset to happen after chip reset instead of before. Remark (Francois): Assuming that the loglevel of the driver is increased above NETIF_MSG_INTR, the bug reveals itself with a typical "interrupt 0025 in poll" message at startup. In retrospect, the message should had been read as an hint of an unexpected hardware state several months ago :o( Fixes (at least part of) https://bugzilla.redhat.com/show_bug.cgi?id=460747 Signed-off-by: Karsten Wiese Signed-off-by: Francois Romieu Tested-by: Josep Signed-off-by: David S. Miller --- Reading git-diff-tree failed