[SCSI] qla4xxx: Don't process mbx interrupt unconditionally
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Wed, 18 May 2011 06:17:07 +0000 (23:17 -0700)
committerJames Bottomley <jbottomley@parallels.com>
Tue, 24 May 2011 16:39:42 +0000 (12:39 -0400)
commit0160ef12693cf1614f602051474792c5b71c639f
tree363c3dc7edcc9e6a5777235927af52245fd9412b
parent6d78bd56be54286a72413db82d87fc371867629f
[SCSI] qla4xxx: Don't process mbx interrupt unconditionally

Do not process interrupt unconditionally during mailbox processing  which can
lead to spurious interrupt. Mailbox completion are now polled if interrupt are
disabled or wait for interrupt to come in if its enabled

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
drivers/scsi/qla4xxx/ql4_mbx.c