2006-08-11 02:20:17

by djwong

[permalink] [raw]
Subject: [PATCH 2/2] Add SATA support to aic94xx

Make aic94xx call the functions that were added to libsas.

Signed-off-by: Darrick J. Wong <[email protected]>

diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c
index 3ec2e46..3a673fe 100644
--- a/drivers/scsi/aic94xx/aic94xx_init.c
+++ b/drivers/scsi/aic94xx/aic94xx_init.c
@@ -76,6 +77,9 @@ static struct scsi_host_template aic94xx
.sg_tablesize = SG_ALL,
.max_sectors = SCSI_DEFAULT_MAX_SECTORS,
.use_clustering = ENABLE_CLUSTERING,
+ .slave_alloc = sas_slave_alloc,
+ .target_destroy = sas_target_destroy,
+ .ioctl = sas_ioctl,
};