sata_mv: consolidate main_irq_mask updates
authorMark Lord <liml@rtr.ca>
Sat, 17 May 2008 17:35:21 +0000 (13:35 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 19 May 2008 21:29:10 +0000 (17:29 -0400)
commitc4de573b14d78ac83861d81d12977457d1e9cb6d
tree8831b6e4665649b8b3bd6a05dde1b032a0f0d6ce
parent51de32d200b21333950abc52ea1e589bc4eecef7
sata_mv: consolidate main_irq_mask updates

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

Consolidate all updates of the host main_irq_mask register
into a single function.  This simplifies maintenance,
and also prepares the way for caching it (later).

No functionality changes in this update.

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