]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Fix for handling some error conditions in loopback.
authorChad Dupuis <chad.dupuis@qlogic.com>
Mon, 27 Aug 2012 07:24:57 +0000 (12:54 +0530)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 27 Aug 2012 09:44:28 +0000 (02:44 -0700)
commita9eced0b5ca8c075406549648a700fc9a4a83fe0
tree0ed9c882d364f8cf52b483edfa9c9fa7b1ec1af3
parent1717f4fb18830e44518c4b3439732d3133b64bc9
qla2xxx: Fix for handling some error conditions in loopback.

Fixes the bug where in case we do not receive DCBX completion aen after a
set-port mbx Or when we get a bad status for IDC completion (mbx 8100) AEN
(i.e. bit 15 of mb2 is set) then we need to return error status and fail the
loopback operation.

JIRA Key: V2632FC-245

Acked-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Acked-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
drivers/scsi/qla2xxx/qla_bsg.c
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_isr.c