From 09d4082076755098fd73689c7dea22df0fd5b8cf Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 20 Sep 2025 17:18:06 -0400 Subject: kern: pci: Add further info of pci_bus_lookup() Signed-off-by: Ian Moffett --- src/sys/include/io/pci/pci.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/sys/include/io/pci/pci.h') diff --git a/src/sys/include/io/pci/pci.h b/src/sys/include/io/pci/pci.h index fedb0d5..81ae87e 100644 --- a/src/sys/include/io/pci/pci.h +++ b/src/sys/include/io/pci/pci.h @@ -106,6 +106,11 @@ typedef enum { * * @lookup: Lookup descriptor that must match a device * @type: Lookup type + * + * XXX: The result is written back to 'lookup' + * + * Returns zero on success, otherwise a less than zero value + * on failure. */ int pci_bus_lookup(struct pci_device *lookup, lookup_type_t type); -- cgit v1.2.3