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)
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

Simple merge