Skip to content
Commit 0a1336c8 authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/ipath: Fix IRQ for PCI Express HCAs



Commit 51f65ebc ("IB/ipath - program intconfig register using new HT
irq hook"), which fixed interrupts for HyperTransport HCAs, broke PCI
Express HCAs, because for those HCAs, the driver uses the value of
pdev->irq before pci_enable_msi() and ends up getting a totally bogus
IRQ number.  Fix this by using the value of pdev->irq after
pci_enable_msi().

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent ad1f9791
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment