]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla2xxx: Call MPI reset for 81xx adapters only.
authorAndrew Vaquez <andrew.vasquez@qlogic.com>
Wed, 14 Dec 2011 14:21:53 +0000 (08:21 -0600)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 9 May 2012 00:40:54 +0000 (17:40 -0700)
JIRA Key: V2632FC-129

drivers/scsi/qla2xxx/qla_init.c

index 83abdf99ad6b95cb8e432328b3367d6a93e1ff2a..d85d9a1d62807757d739d3683d7fcf801f9e7585 100644 (file)
@@ -969,10 +969,8 @@ qla81xx_reset_mpi(scsi_qla_host_t *vha)
 {
        uint16_t mb[4] = {0x1010, 0, 1, 0};
 
-       if (IS_QLA83XX(vha->hw)) {
-               /* waiting for details of procedure to reset 83xx 'mpi' */
-               return QLA_FUNCTION_FAILED;
-       }
+       if (!IS_QLA81XX(vha->hw))
+           return QLA_SUCCESS;
 
        return qla81xx_write_mpi_register(vha, mb);
 }