commit | b35a5cf1e23a85a7fa5b68b5886e422ec71952a1 | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Sun May 30 12:22:18 2021 -0700 |
committer | swissChili <swisschili@fastmail.com> | Sun May 30 12:22:18 2021 -0700 |
tree | 1788c1e5e163f4a5386d3fb4113fa17f761720a9 | |
parent | 402a3831795e76666a3c26b8ead8423fa0cd90f0 [diff] |
Add PCI device check
diff --git a/include/kernel/dri/pci/pci.h b/include/kernel/dri/pci/pci.h index 3a3a8fa..aa342c8 100644 --- a/include/kernel/dri/pci/pci.h +++ b/include/kernel/dri/pci/pci.h
@@ -10,5 +10,5 @@ }; uint pci_config_readd(uchar bus, uchar slot, uchar func, uchar offset); -struct pci_vendor *pci_check_vendor(uchar bus, uchar slot, uchar func, uint *v); +struct pci_vendor *pci_check_vendor(uchar bus, uchar slot, uchar func, ushort *v, ushort *d); void pci_print_devices();