Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2009 10:15:00 +0000 (UTC)
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r190668 - head/sys/dev/pci
Message-ID:  <200904031015.n33AF0Ws015940@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904031015.n33AF0Ws015940>