diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2007-12-28 17:35:17 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-11 19:29:11 -0500 |
commit | b98e66fa0b687149dc3b26179096dc542c7d5001 (patch) | |
tree | d08e0192f53ef4fc0655b38835f2beb9e3c826cb /drivers/scsi/libsas/sas_expander.c | |
parent | 38b3167f75c9508156b974d19692c19b78292e2e (diff) |
[SCSI] libsas: add host SMP processing
This adds support for host side SMP processing, via a separate
SMP interpreter file.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/libsas/sas_expander.c')
-rw-r--r-- | drivers/scsi/libsas/sas_expander.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c index 27674fe468f5..76555b1ddfd5 100644 --- a/drivers/scsi/libsas/sas_expander.c +++ b/drivers/scsi/libsas/sas_expander.c | |||
@@ -1896,11 +1896,9 @@ int sas_smp_handler(struct Scsi_Host *shost, struct sas_rphy *rphy, | |||
1896 | } | 1896 | } |
1897 | 1897 | ||
1898 | /* no rphy means no smp target support (ie aic94xx host) */ | 1898 | /* no rphy means no smp target support (ie aic94xx host) */ |
1899 | if (!rphy) { | 1899 | if (!rphy) |
1900 | printk("%s: can we send a smp request to a host?\n", | 1900 | return sas_smp_host_handler(shost, req, rsp); |
1901 | __FUNCTION__); | 1901 | |
1902 | return -EINVAL; | ||
1903 | } | ||
1904 | type = rphy->identify.device_type; | 1902 | type = rphy->identify.device_type; |
1905 | 1903 | ||
1906 | if (type != SAS_EDGE_EXPANDER_DEVICE && | 1904 | if (type != SAS_EDGE_EXPANDER_DEVICE && |