summaryrefslogtreecommitdiff
path: root/sys/include/dev
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-05-17 21:54:24 -0400
committerIan Moffett <ian@osmora.org>2025-05-17 21:54:24 -0400
commit9c64c3e69fa60b3657d33e829a411cb37064a169 (patch)
treeb5c0aa0bf5d59eaecc534e00e166a6a8ca90e77e /sys/include/dev
parent26eba38bd53cc8ab83e96518085509c7d8ec39a2 (diff)
kernel: pci: Add pci_add_device()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev')
-rw-r--r--sys/include/dev/pci/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/dev/pci/pci.h b/sys/include/dev/pci/pci.h
index 1d8b3a6..de6d8fb 100644
--- a/sys/include/dev/pci/pci.h
+++ b/sys/include/dev/pci/pci.h
@@ -85,6 +85,8 @@ int pci_map_bar(struct pci_device *dev, uint8_t barno, void **vap);
void pci_writel(struct pci_device *dev, uint32_t offset, pcireg_t val);
int pci_enable_msix(struct pci_device *dev, const struct msi_intr *intr);
+void pci_add_device(struct pci_device *dev);
+
void pci_msix_eoi(void);
int pci_init(void);