From owner-svn-src-head@FreeBSD.ORG Fri Apr 3 10:15:01 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F20BA106566C; Fri, 3 Apr 2009 10:15:00 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DFAC98FC14; Fri, 3 Apr 2009 10:15:00 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n33AF0dg015941; Fri, 3 Apr 2009 10:15:00 GMT (envelope-from stas@svn.freebsd.org) Received: (from stas@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n33AF0Ws015940; Fri, 3 Apr 2009 10:15:00 GMT (envelope-from stas@svn.freebsd.org) Message-Id: <200904031015.n33AF0Ws015940@svn.freebsd.org> From: Stanislav Sedov Date: Fri, 3 Apr 2009 10:15:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190668 - head/sys/dev/pci X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2009 10:15:01 -0000 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)