diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-20 17:18:06 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-20 17:18:06 -0400 |
commit | 09d4082076755098fd73689c7dea22df0fd5b8cf (patch) | |
tree | 49bfaabbab14beb3ab93437406938e62a15a3b81 /src/sys/include/io | |
parent | 12e09ed63aeea6fed6928a11df75a4cbe09b286b (diff) |
kern: pci: Add further info of pci_bus_lookup()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/io')
-rw-r--r-- | src/sys/include/io/pci/pci.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |