[ofa-general] [PATCH/RFC] IB/mthca: Use pci_request_regions()
Eli Cohen
eli at dev.mellanox.co.il
Mon Oct 6 08:58:58 PDT 2008
On Mon, Sep 29, 2008 at 09:41:37PM -0700, Roland Dreier wrote:
> Back in prehistoric (pre-git!) days, the kernel's MSI-X support did
> request_mem_region() on a device's MSI-X tables, which meant that a
> driver that enabled MSI-X couldn't use pci_request_regions() (since
> that would clash with the PCI layer's MSI-X request).
>
> However, that was removed (by me!) years ago, so mthca can just use
> pci_request_regions() and pci_release_regions() instead of its own
> much more complicated code that avoids requesting the MSI-X tables.
>
Looks like a nice diet to the code.
Acked by: Eli Cohen <eli at mellanox.co.il>
More information about the general
mailing list