summaryrefslogtreecommitdiff
path: root/sys/include/dev/pci
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-28 19:49:47 -0400
committerIan Moffett <ian@osmora.org>2024-03-28 19:49:47 -0400
commit4fc22f9295061d17e11828af625d9f92aabfb4a5 (patch)
treeab1c7e6381f6237d6bfa0ee0e52baaaeac859ced /sys/include/dev/pci
parent41ab808cd0e4d6d7b80b6112198520adb3860e85 (diff)
kernel: pci: Add pci_writel()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/pci')
-rw-r--r--sys/include/dev/pci/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/dev/pci/pci.h b/sys/include/dev/pci/pci.h
index c17a08e..fbbbeab 100644
--- a/sys/include/dev/pci/pci.h
+++ b/sys/include/dev/pci/pci.h
@@ -65,6 +65,7 @@ struct pci_device {
int pci_init(void);
uint32_t pci_readl(struct pci_device *dev, uint32_t offset);
+void pci_writel(struct pci_device *dev, uint32_t offset, uint32_t val);
struct pci_device *pci_get_device(struct pci_lookup lookup, uint16_t lookup_type);
#endif /* !_DEV_PCI_H_ */