diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2007-01-11 23:15:29 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-01-13 23:19:24 +0100 |
commit | 3b709df5f7c83b6b0907217a248a1414a37ffcb6 (patch) | |
tree | 48599caf78a257bd5e89609a4ebe8c3f70f082fd /drivers/scsi/aic94xx/aic94xx_init.c | |
parent | [SCSI] aic94xx: Match request_firmware with release_firmware (diff) | |
download | linux-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_init.c')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c index 6faa10f59c18..7344f4d59a7d 100644 --- a/drivers/scsi/aic94xx/aic94xx_init.c +++ b/drivers/scsi/aic94xx/aic94xx_init.c @@ -234,7 +234,7 @@ static int __devinit asd_common_setup(struct asd_ha_struct *asd_ha) } /* Provide some sane default values. */ asd_ha->hw_prof.max_scbs = 512; - asd_ha->hw_prof.max_ddbs = 128; + asd_ha->hw_prof.max_ddbs = ASD_MAX_DDBS; asd_ha->hw_prof.num_phys = ASD_MAX_PHYS; /* All phys are enabled, by default. */ asd_ha->hw_prof.enabled_phys = 0xFF; |