summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic94xx/aic94xx_sas.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@us.ibm.com>2007-01-11 23:15:29 +0100
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-01-13 23:19:24 +0100
commit3b709df5f7c83b6b0907217a248a1414a37ffcb6 (patch)
tree48599caf78a257bd5e89609a4ebe8c3f70f082fd /drivers/scsi/aic94xx/aic94xx_sas.h
parent[SCSI] aic94xx: Match request_firmware with release_firmware (diff)
downloadlinux-3b709df5f7c83b6b0907217a248a1414a37ffcb6.tar.xz
linux-3b709df5f7c83b6b0907217a248a1414a37ffcb6.zip
[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 9050e93bfd5e..fa7c5290257d 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 */