summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/comminit.c
diff options
context:
space:
mode:
authorMark Haverkamp <markh@osdl.org>2005-08-03 15:38:51 -0700
committerJames Bottomley <jejb@mulgrave.(none)>2005-08-05 16:49:46 -0500
commitbed30de47b034b5f28fb7db2fae4860b9d9c0622 (patch)
tree1dd29e4f8ae3122d8cc642523a6f0cd2ca70bfd3 /drivers/scsi/aacraid/comminit.c
parentfc789a93994858b5e5a46afb96d0dcf6cc1b6f08 (diff)
downloadblackbird-op-linux-bed30de47b034b5f28fb7db2fae4860b9d9c0622.tar.gz
blackbird-op-linux-bed30de47b034b5f28fb7db2fae4860b9d9c0622.zip
[SCSI] aacraid: interupt mitigation
Received from Mark Salyzyn from Adaptec: If more than two commands are outstanding to the controller, there is no need to notify the adapter via a PCI bus transaction of additional commands added into the queue; it will get to them when it works through the produce/consumer indexes. This reduced the PCI traffic in the driver to submit a command to the queue to near zero allowing a significant number of commands to be turned around with no need to block for the PCI bridge to flush the notify request to the adapter. Interrupt mitigation has always been present in the driver; it was turned off because of a bug that prevented one from realizing the usefulness of the feature. This bug is fixed in this patch. Signed-off-by: Mark Haverkamp <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/comminit.c')
-rw-r--r--drivers/scsi/aacraid/comminit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/comminit.c b/drivers/scsi/aacraid/comminit.c
index 43557bf661f6..75abd0453289 100644
--- a/drivers/scsi/aacraid/comminit.c
+++ b/drivers/scsi/aacraid/comminit.c
@@ -44,7 +44,9 @@
#include "aacraid.h"
-struct aac_common aac_config;
+struct aac_common aac_config = {
+ .irq_mod = 1
+};
static int aac_alloc_comm(struct aac_dev *dev, void **commaddr, unsigned long commsize, unsigned long commalign)
{
OpenPOWER on IntegriCloud