svn commit: r190668 - head/sys/dev/pci

Stanislav Sedov stas at FreeBSD.org
Fri Apr 3 03:15:01 PDT 2009


Author: stas
Date: Fri Apr  3 10:15:00 2009
New Revision: 190668
URL: http://svn.freebsd.org/changeset/base/190668

Log:
  - Correct the comment.
  
  MFC after:	3 days

Modified:
  head/sys/dev/pci/pci.c

Modified: head/sys/dev/pci/pci.c
==============================================================================
--- head/sys/dev/pci/pci.c	Fri Apr  3 05:54:49 2009	(r190667)
+++ head/sys/dev/pci/pci.c	Fri Apr  3 10:15:00 2009	(r190668)
@@ -1030,9 +1030,10 @@ pci_get_vpd_readonly_method(device_t dev
 }
 
 /*
- * 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)


More information about the svn-src-all mailing list