[SCSI] aic79xx: make driver respect nvram for IU and QAS settings
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 13 Jun 2009 17:19:05 +0000 (12:19 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 15 Jun 2009 15:09:35 +0000 (10:09 -0500)
commitea4431906d86686e541de527915ccbe556761b16
treeee24a3c6fb76443a11ab38fa2c87a4afa88788a1
parent4aa312b96f3220103e60c32740452a336dab6260
[SCSI] aic79xx: make driver respect nvram for IU and QAS settings

This patch allows the Adaptec firmware to pass on its values for Packetize and
QAS.  To do this, the settings max_iu and max_qas have been introduced into
the SPI transport class and populated from the adaptec NVram tables.  Domain
validation in the SPI transport class will respect the max settings when
configuring to the highest possible speed for testing.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/aic7xxx/aic79xx_osm.c
drivers/scsi/scsi_transport_spi.c
include/scsi/scsi_transport_spi.h