aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_gs.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2007-07-19 18:05:57 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-20 10:02:04 -0400
commitc76f2c013f7fce83d54acd9d414af7e989e0a1dd (patch)
treea6ad292a7afce772d848354a11d8f3794b82ef2a /drivers/scsi/qla2xxx/qla_gs.c
parente428924ccdf4644c58e23c2314ab970ff3afc607 (diff)
[SCSI] qla2xxx: Generalize iIDMA support.
In preparation for new ISP types. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gs.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_gs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c
index 16de9173719e..9be312331bcc 100644
--- a/drivers/scsi/qla2xxx/qla_gs.c
+++ b/drivers/scsi/qla2xxx/qla_gs.c
@@ -1678,7 +1678,7 @@ qla2x00_gfpn_id(scsi_qla_host_t *ha, sw_info_t *list)
1678 struct ct_sns_req *ct_req; 1678 struct ct_sns_req *ct_req;
1679 struct ct_sns_rsp *ct_rsp; 1679 struct ct_sns_rsp *ct_rsp;
1680 1680
1681 if (!IS_FWI2_CAPABLE(ha)) 1681 if (!IS_IIDMA_CAPABLE(ha))
1682 return QLA_FUNCTION_FAILED; 1682 return QLA_FUNCTION_FAILED;
1683 1683
1684 for (i = 0; i < MAX_FIBRE_DEVICES; i++) { 1684 for (i = 0; i < MAX_FIBRE_DEVICES; i++) {
@@ -1786,7 +1786,7 @@ qla2x00_gpsc(scsi_qla_host_t *ha, sw_info_t *list)
1786 struct ct_sns_req *ct_req; 1786 struct ct_sns_req *ct_req;
1787 struct ct_sns_rsp *ct_rsp; 1787 struct ct_sns_rsp *ct_rsp;
1788 1788
1789 if (!IS_FWI2_CAPABLE(ha)) 1789 if (!IS_IIDMA_CAPABLE(ha))
1790 return QLA_FUNCTION_FAILED; 1790 return QLA_FUNCTION_FAILED;
1791 if (!ha->flags.gpsc_supported) 1791 if (!ha->flags.gpsc_supported)
1792 return QLA_FUNCTION_FAILED; 1792 return QLA_FUNCTION_FAILED;