hpsa: Fallback to MSI rather than to INTx if MSI-X failed
authorAlexander Gordeev <agordeev@redhat.com>
Mon, 18 Aug 2014 06:01:41 +0000 (08:01 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:09:38 +0000 (09:09 -0700)
commit49bd1a8f96d7b169edb11eb41e084b1b1669557a
tree67260f4ba1ad3f56309ea31d6aa9438415127bb4
parented81d7741eddb690aa9d5c79945123db11ec7a0c
hpsa: Fallback to MSI rather than to INTx if MSI-X failed

Currently the driver falls back to INTx mode when MSI-X
initialization failed. This is a suboptimal behaviour
for chips that also support MSI. This update changes that
behaviour and falls back to MSI mode in case MSI-X mode
initialization failed.

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Acked-by: "Stephen M. Cameron" <scameron@beardog.cce.hp.com>
Cc: iss_storagedev@hp.com
Cc: linux-scsi@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c