summaryrefslogtreecommitdiff
path: root/src/sys/arch/amd64/mainbus/locore.S
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-09-19 18:00:05 -0400
committerIan Moffett <ian@osmora.org>2025-09-19 18:00:05 -0400
commit1330e1e54c38d6ba0391d556b694813ae389daa1 (patch)
tree679f34f4092fc0091cc5cf42fac60181e6f67e87 /src/sys/arch/amd64/mainbus/locore.S
parentbfe26529fc77755dc5dd9e41473ebbe84044c5f3 (diff)
kernel: pci: Add PCI lookup routine
This commit adds a new 'lookup_type_t' for representing the various kinds of lookups one can perform on the PCI bus. The actual code to drive the lookups is exposed as the pci_bus_lookup() routine. When doing a lookup of a PCI device, you must specify the kind of lookup to perform. If a PCI_LU_CLASSREV is requested, only the PCI class and subclass fields in the PCI lookup are used. If the PCI_LU_VENDEV is requested, only the PCI vendor ID and device ID are used in the lookup. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/arch/amd64/mainbus/locore.S')
0 files changed, 0 insertions, 0 deletions