diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-01-20 13:42:34 -0500 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-11-04 15:52:51 -0400 |
commit | 53c9577e9ca68a633c6e9df2b54eaecacfa77f62 (patch) | |
tree | 2eb47c41f0e77836b146d9d9d191da75f6f68f5c /drivers | |
parent | 821234603b265f59d7eebce16d9e8beca2a5752d (diff) | |
download | lwn-53c9577e9ca68a633c6e9df2b54eaecacfa77f62.tar.gz lwn-53c9577e9ca68a633c6e9df2b54eaecacfa77f62.zip |
NVMe: Fix admin IRQ claim on real hardware
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/nvme.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/nvme.c b/drivers/block/nvme.c index 3d917a87ea93..44a9d5edd8db 100644 --- 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) { |