summaryrefslogtreecommitdiff
path: root/drivers/scsi/aic94xx/aic94xx_sas.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@us.ibm.com>2007-01-11 22:15:29 (GMT)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-01-13 22:19:24 (GMT)
commit3b709df5f7c83b6b0907217a248a1414a37ffcb6 (patch)
tree48599caf78a257bd5e89609a4ebe8c3f70f082fd /drivers/scsi/aic94xx/aic94xx_sas.h
parentbf2a1928f3e5d44934e974940a8260a57fcc8a58 (diff)
downloadlinux-fsl-qoriq-3b709df5f7c83b6b0907217a248a1414a37ffcb6.tar.xz
[SCSI] aic94xx: Fix DDB and SCB initialization
Ed Chim of Adaptec informs us that the DDB registers need to be zeroed at initialization time and that some SCB initializations need to happen even if we don't use the SCB. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_sas.h')
-rw-r--r--drivers/scsi/aic94xx/aic94xx_sas.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_sas.h b/drivers/scsi/aic94xx/aic94xx_sas.h
index 9050e93..fa7c529 100644
--- a/drivers/scsi/aic94xx/aic94xx_sas.h
+++ b/drivers/scsi/aic94xx/aic94xx_sas.h
@@ -34,6 +34,7 @@
* domain that this sequencer can maintain low-level connections for
* us. They are be 64 bytes.
*/
+#define ASD_MAX_DDBS 128
struct asd_ddb_ssp_smp_target_port {
u8 conn_type; /* byte 0 */