RE: [PATCH] Export msi_remove_pci_irq_vectors

From: Nguyen, Tom L
Date: Tue Jun 22 2004 - 11:03:47 EST


On Monday, June 21, 2004 Roland Dreier wrote:

>As a followup to my previous post about the request_mem_region in
>msi.c, I noticed that the region is only released in
>msi_remove_pci_irq_vectors(). Based on the fact that this function is
>declared in linux/pci.h (and stubbed out if CONFIG_PCI_USE_VECTOR is
>not defined), I'm guessing that the intent is for a device driver to
>unconditionally call this when exiting.

The intent of msi_remove_pci_irq_vectors() is to support hot-removed
operation. This function is not for a device driver to call and
should not be exported. I acknowledged the problem of the MSI-X region
being only released in msi_remove_pci_irq_vectors(). I'm in a progress
of updating the existing MSI-X code.

Thanks,
Long
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/