]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5adf11967aac28ec5f35d31e06eed097c396b611
tree987158ee6317d8db2a8c8873e4417062397fcd44
parent47ec7a8690fb78f88b31bb1f2589e367bc8d65a0
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