summaryrefslogtreecommitdiff
path: root/sys/include/dev/pci
AgeCommit message (Collapse)Author
4 dayskernel/amd64: bus: Add bus resource interfaceIan Moffett
This commit introduces a bus resource abstraction. A bus resource encapsulates bus specific information and semantics. Along with abstracting away bus specific details and providing an overall smoother interface, this additionally provides flexibility, access control and security by keeping track of permissions and allowing things to be turned on or off. Signed-off-by: Ian Moffett <ian@osmora.org>
7 daysproject: Update copyright date to 2025Ian Moffett
Was supposed to happen on Jan 1, sorry! Happy late new year! Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: pci: Optimize PCI bus scanningQuinn Stephens
Uses recursive bus/bridge scanning, skips nonexistent devices, and only scans for multiple functions on multifunction devices. This may result in PCI scanning being up to 100x as fast. Signed-off-by: Quinn Stephens <quinn@osmora.org> Signed-off-by: Ian Moffett <ian@osmora.org>
2025-01-27kernel: pci: Add missing pci_msix_eoi() prototypeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-12-17kernel/amd64: pci: Allow mapping of 64 bit BARsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-11kernel/amd64: pci: Add support for PCI MSI-XIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-09kernel/amd64: pci: Add function to map BARsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-09kernel: pci: Add PCI device lookupsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-09kernel: Add PCI driverIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-24Clean out for exptIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-03kernel: pci: Require mapping BAR using bus_map()Ian Moffett
This commit gets rid of pci_map_bar() as some devices have their base address spanning mulitple BARs. This change also exposes PCI bar size logic through pci_bar_size() Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-02kernel: pci: Add PCI BAR mapping routineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-07kernel: pci: Add macros for fetching BAR baseIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-02kernel: pci: Add more register definitionsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-28kernel: pci: Add command register helpersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-28kernel: pci: Add pci_writel()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-20kernel: dev: Add PCI driverIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>