[SCSI] qla2xxx: ISP21xx/22xx do not support FDMI registrations.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Fri, 31 Jul 2009 22:09:33 +0000 (15:09 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 22 Aug 2009 22:52:19 +0000 (17:52 -0500)
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_gs.c

index 917534b9f2216c50784888d514d764e950c7a572..4647015eba63245ba6cdf5f11ad200af41428965 100644 (file)
@@ -1674,6 +1674,10 @@ int
 qla2x00_fdmi_register(scsi_qla_host_t *vha)
 {
        int rval;
+       struct qla_hw_data *ha = vha->hw;
+
+       if (IS_QLA2100(ha) || IS_QLA2200(ha))
+               return QLA_FUNCTION_FAILED;
 
        rval = qla2x00_mgmt_svr_login(vha);
        if (rval)