summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ipr.h
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2012-03-14 21:20:08 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-03-28 15:01:06 +0100
commit7dd21308b17e2b657d167adc7e20b41b7c6bbe5c (patch)
tree3789453ea1f3fa6c572e46aec7784a18a82aebad /drivers/scsi/ipr.h
parent0ee1d714c285aabaadf7495bf5820114ad0959b1 (diff)
downloadblackbird-op-linux-7dd21308b17e2b657d167adc7e20b41b7c6bbe5c.tar.gz
blackbird-op-linux-7dd21308b17e2b657d167adc7e20b41b7c6bbe5c.zip
[SCSI] ipr: Remove unnecessary interrupt clearing on new adapters
The latest ipr hardware no longer requires the driver to issue any MMIOs to clear the interrupt so remove this to optimize performance. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r--drivers/scsi/ipr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h
index f94eaee2ff16..40cbee72b83c 100644
--- a/drivers/scsi/ipr.h
+++ b/drivers/scsi/ipr.h
@@ -1306,6 +1306,7 @@ struct ipr_interrupts {
struct ipr_chip_cfg_t {
u32 mailbox;
u8 cache_line_size;
+ u8 clear_isr;
struct ipr_interrupt_offsets regs;
};
@@ -1388,6 +1389,7 @@ struct ipr_ioa_cfg {
u8 sis64:1;
u8 dump_timeout:1;
u8 cfg_locked:1;
+ u8 clear_isr:1;
u8 revid;
OpenPOWER on IntegriCloud