sata_mv: don't read hc_irq_cause
authorMark Lord <liml@rtr.ca>
Mon, 19 Jan 2009 23:05:42 +0000 (18:05 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 26 Jan 2009 11:36:53 +0000 (06:36 -0500)
commitcae6edc3b5a536119374a5439d9b253cb26f05e1
tree14c8706bb6a6a8135b12b66623e005df825b454f
parentb0bccb18bc523d1d5060d25958f12438062829a9
sata_mv: don't read hc_irq_cause

Remove silly read-modify-write sequences when clearing interrupts
in hc_irq_cause.  This gets rid of unneeded MMIO reads, resulting in
a slight performance boost when switching between EDMA and non-EDMA
modes (eg. for cache flushes).

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