pci: change pci_find_device

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-13 15:02:00 -04:00
commit 16b2e9de0a
3 changed files with 34 additions and 2 deletions

View file

@ -36,6 +36,6 @@ struct pci_device {
void pci_register_host(struct pci_host *host);
u32 pci_config_read(struct pci_host *host, u32 bus, u32 slot, u32 func, u32 offset);
void pci_config_write(struct pci_host *host, u32 bus, u32 slot, u32 func, u32 offset, u32 val);
size_t pci_find_device(u16 minor, u16 major, list_t *out);
size_t pci_find_device(u16 major, u16 minor, list_t *out);
#endif /* _PCI_H_ */