projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8212346
)
NVMe: Fix admin IRQ claim on real hardware
author
Matthew Wilcox
<matthew.r.wilcox@intel.com>
Thu, 20 Jan 2011 18:42:34 +0000
(13:42 -0500)
committer
Matthew Wilcox
<matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:51 +0000
(15:52 -0400)
The admin IRQ is supposed to use the pin-based (or single message MSI)
interrupt. Accomplish this by filling in entry[0]'s vector with the
INTx irq number.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/nvme.c
b/drivers/block/nvme.c
index 3d917a87ea93e88ae0561354761dfbdba0c25c94..44a9d5edd8db017cc83b1fa500afa3c39f7a77b7 100644
(file)
--- a/
drivers/block/nvme.c
+++ b/
drivers/block/nvme.c
@@
-979,6
+979,7
@@
static int __devinit nvme_probe(struct pci_dev *pdev,
pci_set_drvdata(pdev, dev);
dma_set_mask(&dev->pci_dev->dev, DMA_BIT_MASK(64));
nvme_set_instance(dev);
+ dev->entry[0].vector = pdev->irq;
dev->bar = ioremap(pci_resource_start(pdev, 0), 8192);
if (!dev->bar) {