diff options
author | stas <stas@FreeBSD.org> | 2009-04-03 10:15:00 +0000 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2009-04-03 10:15:00 +0000 |
commit | fe4ba0b7543c128972c10ca179fc9f1b58baf5d0 (patch) | |
tree | 782ce38e4d4c844a98627641a6be6e612f07e6a6 /sys/dev/pci/pci.c | |
parent | 16a8b4ee94b7a9e57e8fc37ad9dd8581bc555caf (diff) | |
download | FreeBSD-src-fe4ba0b7543c128972c10ca179fc9f1b58baf5d0.zip FreeBSD-src-fe4ba0b7543c128972c10ca179fc9f1b58baf5d0.tar.gz |
- Correct the comment.
MFC after: 3 days
Diffstat (limited to 'sys/dev/pci/pci.c')
-rw-r--r-- | sys/dev/pci/pci.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index d90cd6a..85b49da 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -1030,9 +1030,10 @@ pci_get_vpd_readonly_method(device_t dev, device_t child, const char *kw, } /* - * Return the offset in configuration space of the requested extended - * capability entry or 0 if the specified capability was not found. - */ + * Find the requested extended capability and return the offset in + * configuration space via the pointer provided. The function returns + * 0 on success and error code otherwise. +*/ int pci_find_extcap_method(device_t dev, device_t child, int capability, int *capreg) |