Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/lib/libpci Pull up following revision(s) (requested by ms...
details: https://anonhg.NetBSD.org/src/rev/877735ee3875
branches: netbsd-7
changeset: 798728:877735ee3875
user: snj <snj%NetBSD.org@localhost>
date: Sun Dec 21 19:30:20 2014 +0000
description:
Pull up following revision(s) (requested by msaitoh in ticket #337):
lib/libpci/pci.3: revision 1.10
Add "int showclass" argument to pci_devinfo(). The API was changed 10 years
ago.
diffstat:
lib/libpci/pci.3 | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 87be686ad52e -r 877735ee3875 lib/libpci/pci.3
--- a/lib/libpci/pci.3 Sun Dec 21 19:28:38 2014 +0000
+++ b/lib/libpci/pci.3 Sun Dec 21 19:30:20 2014 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pci.3,v 1.9 2014/07/25 10:21:34 wiz Exp $
+.\" $NetBSD: pci.3,v 1.9.2.1 2014/12/21 19:30:20 snj Exp $
.\"
.\" Copyright 2001 Wasabi Systems, Inc.
.\" All rights reserved.
@@ -33,7 +33,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd July 24, 2014
+.Dd December 16, 2014
.Dt PCI 3
.Os
.Sh NAME
@@ -56,7 +56,7 @@
.Ft char *
.Fn pci_findvendor "pcireg_t id_reg"
.Ft void
-.Fn pci_devinfo "pcireg_t id_reg" "pcireg_t class_reg" "char *devinfo" "size_t len"
+.Fn pci_devinfo "pcireg_t id_reg" "pcireg_t class_reg" "int showclass" "char *devinfo" "size_t len"
.Ft void
.Fn pci_conf_print "int pcifd" "u_int bus" "u_int dev" "u_int func"
.Ft int
@@ -128,6 +128,9 @@
.Fa devinfo ;
the size of that buffer is specified in
.Fa len .
+If
+.Fa showclass
+is not 0, the class, subclass and interface are added into the buffer.
.It Fn pci_conf_print
Print the PCI configuration information for the device located
at
Home |
Main Index |
Thread Index |
Old Index