From: Andrew Vasquez Date: Thu, 10 Jul 2008 23:55:59 +0000 (-0700) Subject: [SCSI] qla2xxx: Skip FDMI registration on ISP21xx/22xx parts. X-Git-Tag: v2.6.27-rc1~55^2~45 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=031e134e5f95233d80fb1b62fdaf5e1be587597c;p=linux-2.6-omap-h63xx.git [SCSI] qla2xxx: Skip FDMI registration on ISP21xx/22xx parts. Firmware does not have the facilities to issue management server IOCBs. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c index 4cb80b476c8..c2a4bfbcb05 100644 --- a/drivers/scsi/qla2xxx/qla_gs.c +++ b/drivers/scsi/qla2xxx/qla_gs.c @@ -1661,6 +1661,12 @@ qla2x00_fdmi_register(scsi_qla_host_t *ha) { int rval; + if (IS_QLA2100(ha) || IS_QLA2200(ha)) { + DEBUG2(printk("scsi(%ld): FDMI unsupported on " + "ISP2100/ISP2200.\n", ha->host_no)); + return QLA_SUCCESS; + } + rval = qla2x00_mgmt_svr_login(ha); if (rval) return rval;