projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed81d77
)
hpsa: Fallback to MSI rather than to INTx if MSI-X failed
author
Alexander Gordeev
<
[email protected]
>
Mon, 18 Aug 2014 06:01:41 +0000
(08:01 +0200)
committer
Christoph Hellwig
<
[email protected]
>
Tue, 16 Sep 2014 16:09:38 +0000
(09:09 -0700)
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 <
[email protected]
>
Acked-by: "Stephen M. Cameron" <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Signed-off-by: Christoph Hellwig <
[email protected]
>
drivers/scsi/hpsa.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/hpsa.c
b/drivers/scsi/hpsa.c
index 6b35d0dfe64c943a5a9caac8564fdfa8fc5c9a83..a9c4c9f05bb4b46c767524f8fbc7cce6ab428e68 100644
(file)
--- a/
drivers/scsi/hpsa.c
+++ b/
drivers/scsi/hpsa.c
@@
-6176,7
+6176,6
@@
static void hpsa_interrupt_mode(struct ctlr_info *h)
dev_warn(&h->pdev->dev, "MSI-X init failed %d\n",
err);
h->msix_vector = 0;
- goto default_int_mode;
}
}
if (pci_find_capability(h->pdev, PCI_CAP_ID_MSI)) {