Module Name: src Committed By: knakahara Date: Fri Aug 14 02:04:16 UTC 2015
Modified Files: src/share/man/man9: Makefile pci.9 Log Message: Add pci_get_ht_capability(9) man. To generate a diff of this commit: cvs rdiff -u -r1.389 -r1.390 src/share/man/man9/Makefile cvs rdiff -u -r1.38 -r1.39 src/share/man/man9/pci.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/Makefile diff -u src/share/man/man9/Makefile:1.389 src/share/man/man9/Makefile:1.390 --- src/share/man/man9/Makefile:1.389 Tue Jul 21 03:12:50 2015 +++ src/share/man/man9/Makefile Fri Aug 14 02:04:16 2015 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.389 2015/07/21 03:12:50 knakahara Exp $ +# $NetBSD: Makefile,v 1.390 2015/08/14 02:04:16 knakahara Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -558,6 +558,7 @@ MLINKS+=pci.9 pci_conf_read.9 \ pci.9 pci_conf_print.9 \ pci.9 pci_find_device.9 \ pci.9 pci_get_capability.9 \ + pci.9 pci_get_ht_capability.9 \ pci.9 pci_mapreg_type.9 \ pci.9 pci_mapreg_map.9 \ pci.9 pci_mapreg_info.9 \ Index: src/share/man/man9/pci.9 diff -u src/share/man/man9/pci.9:1.38 src/share/man/man9/pci.9:1.39 --- src/share/man/man9/pci.9:1.38 Mon Oct 27 14:41:42 2014 +++ src/share/man/man9/pci.9 Fri Aug 14 02:04:16 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: pci.9,v 1.38 2014/10/27 14:41:42 wiz Exp $ +.\" $NetBSD: pci.9,v 1.39 2015/08/14 02:04:16 knakahara Exp $ .\" .\" Copyright (c) 2001, 2003 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd October 27, 2014 +.Dd August 14, 2015 .Dt PCI 9 .Os .Sh NAME @@ -43,6 +43,7 @@ .Nm pci_conf_restore , .Nm pci_find_device , .Nm pci_get_capability , +.Nm pci_get_ht_capability , .Nm pci_mapreg_type , .Nm pci_mapreg_map , .Nm pci_mapreg_info , @@ -99,6 +100,9 @@ .Ft int .Fn pci_get_capability "pci_chipset_tag_t pc" "pcitag_t tag" \ "int capid" "int *offsetp" "pcireg_t *valuep" +.Ft int +.Fn pci_get_ht_capability "pci_chipset_tag_t pc" "pcitag_t tag" \ +"int *offsetp" "pcireg_t *valuep" .Ft pcireg_t .Fn pci_mapreg_type "pci_chipset_tag_t pc" "pcitag_t tag" "int reg" .Ft int @@ -462,6 +466,10 @@ If the capability was not found, it retu and .Fa valuep remain unchanged. +.It Fn pci_get_ht_capability "pc" "tag" "offsetp" "valuep" +This function is about the same as +.Fn pci_get_capability . +This function specializes in HyperTransport capability. .It Fn pci_mapreg_type "pc" "tag" "reg" Interrogates the Base Address Register (BAR) in configuration space specified by