From: Russell King Date: Fri, 18 Nov 2005 17:57:55 +0000 (-0500) Subject: [PATCH] smc91x: fix bank mismatch X-Git-Tag: v2.6.15-rc2~18^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e52542443aa9be15439e9879baf6d41b290e94db;p=pandora-kernel.git [PATCH] smc91x: fix bank mismatch The smc91x driver relies upon register bank 2 being selected whenever the interrupt handler is called. This isn't always so, especially if we have a link change event during PHY configuration. This results in register bank 0 being selected when the interrupt handler is called, causing the wrong registers to be read for the IRQ mask and status. In turn, this causes us to spin with a permanently asserted IRQ. The patch ensures that smc_phy_configure always exits with register bank 2 selected. Signed-off-by: Russell King Signed-off-by: Nicolas Pitre Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed