diff options
author | Mark Lord <liml@rtr.ca> | 2009-02-19 10:38:04 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-02-25 15:25:35 -0500 |
commit | 6be96ac15e4d913e1f48299db083ada5321803b2 (patch) | |
tree | 470a31dd536ca0de003c205f6a03ecc3e3116195 /drivers/ata/pata_oldpiix.c | |
parent | 7ba07d16bd62f931efec1fc8e63bf1aeebfe42a9 (diff) |
sata_mv: fix SoC interrupt breakage
For some reason, sata_mv doesn't clear interrupt status during init
when it's running on an SoC host adapter. If the bootloader has
touched the SATA controller before starting Linux, Linux can end up
enabling the SATA interrupt with events pending, which will cause the
interrupt to be marked as spurious and then be disabled, which then
breaks all further accesses to the controller.
This patch makes the SoC path clear interrupt status on init like in
the non-SoC case.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_oldpiix.c')
0 files changed, 0 insertions, 0 deletions