summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic94xx/aic94xx_init.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@us.ibm.com>2008-02-19 19:50:49 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 19:15:39 +0200
commit68066c3ed14b529331bc2ff12470e9ca1cae5c3f (patch)
treee7c57b85c65c5945106e9a26f67fb732e2e294f4 /drivers/scsi/aic94xx/aic94xx_init.c
parent[SCSI] libsas: Provide a transport-level facility to request SAS addrs (diff)
downloadlinux-68066c3ed14b529331bc2ff12470e9ca1cae5c3f.tar.xz
linux-68066c3ed14b529331bc2ff12470e9ca1cae5c3f.zip
[SCSI] aic94xx: Use sas_request_addr() to provide SAS WWN if the adapter lacks one
If the aic94xx chip doesn't have a SAS address in the chip's flash memory, make libsas get one for us. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_init.c')
-rw-r--r--drivers/scsi/aic94xx/aic94xx_init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c
index 88d1e731b65e..806fa4d9a648 100644
--- a/drivers/scsi/aic94xx/aic94xx_init.c
+++ b/drivers/scsi/aic94xx/aic94xx_init.c
@@ -56,8 +56,6 @@ MODULE_PARM_DESC(collector, "\n"
"\tThe aic94xx SAS LLDD supports both modes.\n"
"\tDefault: 0 (Direct Mode).\n");
-char sas_addr_str[2*SAS_ADDR_SIZE + 1] = "";
-
static struct scsi_transport_template *aic94xx_transport_template;
static int asd_scan_finished(struct Scsi_Host *, unsigned long);
static void asd_scan_start(struct Scsi_Host *);