Add a new directory in the driver API guide for PCI-specific documentation.
This is in preparation for adding a new PCI P2P DMA driver writers guide
which will go in this directory.
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Logan Gunthorpe <logang@deltatee.com>
Cc: Thierry Reding <treding@nvidia.com>
Cc: Sanyog Kale <sanyog.r.kale@intel.com>
Cc: Sagar Dharia <sdharia@codeaurora.org>
iio/index
input
usb/index
- pci
+ pci/index
spi
i2c
hsi
+++ /dev/null
-PCI Support Library
--------------------
-
-.. kernel-doc:: drivers/pci/pci.c
- :export:
-
-.. kernel-doc:: drivers/pci/pci-driver.c
- :export:
-
-.. kernel-doc:: drivers/pci/remove.c
- :export:
-
-.. kernel-doc:: drivers/pci/search.c
- :export:
-
-.. kernel-doc:: drivers/pci/msi.c
- :export:
-
-.. kernel-doc:: drivers/pci/bus.c
- :export:
-
-.. kernel-doc:: drivers/pci/access.c
- :export:
-
-.. kernel-doc:: drivers/pci/irq.c
- :export:
-
-.. kernel-doc:: drivers/pci/probe.c
- :export:
-
-.. kernel-doc:: drivers/pci/slot.c
- :export:
-
-.. kernel-doc:: drivers/pci/rom.c
- :export:
-
-.. kernel-doc:: drivers/pci/iov.c
- :export:
-
-.. kernel-doc:: drivers/pci/pci-sysfs.c
- :internal:
-
-PCI Hotplug Support Library
----------------------------
-
-.. kernel-doc:: drivers/pci/hotplug/pci_hotplug_core.c
- :export:
--- /dev/null
+.. SPDX-License-Identifier: GPL-2.0
+
+============================================
+The Linux PCI driver implementer's API guide
+============================================
+
+.. class:: toc-title
+
+ Table of contents
+
+.. toctree::
+ :maxdepth: 2
+
+ pci
+
+.. only:: subproject and html
+
+ Indices
+ =======
+
+ * :ref:`genindex`
--- /dev/null
+PCI Support Library
+-------------------
+
+.. kernel-doc:: drivers/pci/pci.c
+ :export:
+
+.. kernel-doc:: drivers/pci/pci-driver.c
+ :export:
+
+.. kernel-doc:: drivers/pci/remove.c
+ :export:
+
+.. kernel-doc:: drivers/pci/search.c
+ :export:
+
+.. kernel-doc:: drivers/pci/msi.c
+ :export:
+
+.. kernel-doc:: drivers/pci/bus.c
+ :export:
+
+.. kernel-doc:: drivers/pci/access.c
+ :export:
+
+.. kernel-doc:: drivers/pci/irq.c
+ :export:
+
+.. kernel-doc:: drivers/pci/probe.c
+ :export:
+
+.. kernel-doc:: drivers/pci/slot.c
+ :export:
+
+.. kernel-doc:: drivers/pci/rom.c
+ :export:
+
+.. kernel-doc:: drivers/pci/iov.c
+ :export:
+
+.. kernel-doc:: drivers/pci/pci-sysfs.c
+ :internal:
+
+PCI Hotplug Support Library
+---------------------------
+
+.. kernel-doc:: drivers/pci/hotplug/pci_hotplug_core.c
+ :export: