summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/sa.c
diff options
context:
space:
mode:
authorMahesh Rajashekhara <Mahesh_Rajashekhara@pmc-sierra.com>2012-02-08 22:51:04 -0800
committerJames Bottomley <JBottomley@Parallels.com>2012-02-19 08:09:01 -0600
commit116046127d1a3bad2853d02781ad9fee33f05e5a (patch)
treef5a0ca20662b98960ce20587f666b6267367478b /drivers/scsi/aacraid/sa.c
parent70fc872c738d1e0af7d0420047e4ca3acf283c9d (diff)
downloadop-kernel-dev-116046127d1a3bad2853d02781ad9fee33f05e5a.zip
op-kernel-dev-116046127d1a3bad2853d02781ad9fee33f05e5a.tar.gz
[SCSI] aacraid: Added Sync.mode to support series 7/8/9 controllers
Added Sync. mode to support Series 7/8/9 controller families: This is a compatibility mode for all these controller families. The Async. (Performance) mode can be changed in the future. First Async. mode version added for Series 7; Controller parameter aac_sync_mode added Signed-off-by: Mahesh Rajashekhara <aacraid@pmc-sierra.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/aacraid/sa.c')
-rw-r--r--drivers/scsi/aacraid/sa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/aacraid/sa.c b/drivers/scsi/aacraid/sa.c
index e5d4457..beb5336 100644
--- a/drivers/scsi/aacraid/sa.c
+++ b/drivers/scsi/aacraid/sa.c
@@ -385,6 +385,7 @@ int aac_sa_init(struct aac_dev *dev)
if(aac_init_adapter(dev) == NULL)
goto error_irq;
+ dev->sync_mode = 0; /* sync. mode not supported */
if (request_irq(dev->pdev->irq, dev->a_ops.adapter_intr,
IRQF_SHARED|IRQF_DISABLED,
"aacraid", (void *)dev ) < 0) {
OpenPOWER on IntegriCloud