sata_mv: don't blindly enable IRQs
authorMark Lord <liml@rtr.ca>
Sat, 17 May 2008 17:34:42 +0000 (13:34 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 19 May 2008 21:28:44 +0000 (17:28 -0400)
commit51de32d200b21333950abc52ea1e589bc4eecef7
tree987158ee6317d8db2a8c8873e4417062397fcd44
parentc443c5002b24ff5d2f4efcc25a861f0cb835130a
sata_mv: don't blindly enable IRQs

Part one of simplifying/fixing handling of the main_irq_mask register
to resolve unexpected interrupt issues observed in 2.6.26-rc*.

Don't blindly enable port IRQs at host init time.
Instead, enable only the bits that we want,
which in this case is simply the PCI_ERR bit.

The per-port bits can wait until the ports are reset/probed for devices.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c