diff options
author | Russell King | 2005-11-18 18:57:55 +0100 |
---|---|---|
committer | Jeff Garzik | 2005-11-18 19:10:30 +0100 |
commit | e52542443aa9be15439e9879baf6d41b290e94db (patch) | |
tree | 840fb2eb41713e75b9b8ba82e3961f71530447e1 /net/sctp/input.c | |
parent | [PATCH] smc91x: fix one source of spurious interrupts (diff) | |
download | kernel-qcow2-linux-e52542443aa9be15439e9879baf6d41b290e94db.tar.gz kernel-qcow2-linux-e52542443aa9be15439e9879baf6d41b290e94db.tar.xz kernel-qcow2-linux-e52542443aa9be15439e9879baf6d41b290e94db.zip |
[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 <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'net/sctp/input.c')
0 files changed, 0 insertions, 0 deletions