Skip to content

Commit 8861407

Browse files
Ahmed S. DarwishKAGA-KOKO
authored andcommitted
Documentation: PCI: Add reference to PCI/MSI device driver APIs
All exported device-driver MSI APIs are now grouped in one place at drivers/pci/msi/api.c with comprehensive kernel-docs added. Reference these kernel-docs in the official PCI/MSI howto. Signed-off-by: Ahmed S. Darwish <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Acked-by: Bjorn Helgaas <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 57127da commit 8861407

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/PCI/msi-howto.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,3 +285,13 @@ to bridges between the PCI root and the device, MSIs are disabled.
285285
It is also worth checking the device driver to see whether it supports MSIs.
286286
For example, it may contain calls to pci_alloc_irq_vectors() with the
287287
PCI_IRQ_MSI or PCI_IRQ_MSIX flags.
288+
289+
290+
List of device drivers MSI(-X) APIs
291+
===================================
292+
293+
The PCI/MSI subystem has a dedicated C file for its exported device driver
294+
APIs — `drivers/pci/msi/api.c`. The following functions are exported:
295+
296+
.. kernel-doc:: drivers/pci/msi/api.c
297+
:export:

0 commit comments

Comments
 (0)