Commit Graph

23 Commits

Author SHA1 Message Date
mrg 62ee7dc27b introduce a better pci_drvname() and PCI_IOC_DRVNAME as pciio_drvnameonbus()
and PCI_IOC_DRVNAMEONBUS.  the new ones also take a (autoconf) PCI bus
number, which allows lookups for any device on any pci bus node.  use this
in pcictl which current reports the wrong values sometimes.

up next: use these in libpciaccess.
2016-09-24 23:12:54 +00:00
wiz 48a57620e7 unsigned -> unsigned int 2016-01-23 07:21:18 +00:00
dholland 398f572480 Apparently a recent round of vandalism by the C++ standards committee
includes disallowing the standard and historic type name "unsigned". Add
a gratuitous "int" to recent changes.

C++ is really a blight on the world.
2016-01-23 01:26:14 +00:00
dholland 65f8003146 Update synopses to match u_int/u_long/etc. changes. Do not bump date as
it's not a substantive change.
2016-01-23 00:43:42 +00:00
dholland 5d13788b5e u_int -> unsigned; also requires stddef.h and stdint.h to be compilable. 2016-01-22 22:22:48 +00:00
msaitoh 5a1f437d33 Add "int showclass" argument to pci_devinfo(). The API was changed 10 years
ago.
2014-12-16 13:38:36 +00:00
christos 339c89dc93 Adjust to kernel changes 2014-09-21 14:32:37 +00:00
wiz ce9ef29908 Serial comma, more markup, remove trailing whitespace. 2014-07-25 10:21:34 +00:00
mrg 1e4a2ee3ed introduce a new pci_drvname(3) to libpci. implement it in the backend
via PCI_IOC_DRVNAME.

update manual and set lists (and remove a couple of doubled entries.)o

this will be used in libpciaccess() to implement the has_kernel_driver()
method.
2014-07-25 01:38:26 +00:00
pgoyette 2ac5480827 Update libpci for change in pci_find{vendor,product} entrypoint names. 2010-05-25 08:35:47 +00:00
pgoyette 1365824bee Adapt libpci build to include new pci_verbose.c 2010-05-24 20:31:17 +00:00
cegger 6e975d4155 fix typo: rag -> reg 2009-10-23 15:41:58 +00:00
joerg 997634fe14 Fix preamble to match order set out by mdoc(7). Discussed with wiz. 2009-03-09 19:24:26 +00:00
christos 46edb91e9f bump shared libraries. 2009-01-11 03:07:47 +00:00
mycroft 42a0ee466b Modify prototype for pci_findvendor() and add pci_findproduct(). 2004-08-03 03:32:43 +00:00
kleink 37fa02ea0d Bump to 1.0: incompatible pci_devinfo() argument change. 2004-04-24 09:57:13 +00:00
kleink 7407d114f9 Catch up with the kernel: new buffer length argument to pci_devinfo(). 2004-04-24 09:56:36 +00:00
wiz 472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
lukem d8c1106869 add __RCSID() 2003-03-08 09:53:45 +00:00
lukem ebb6fc9eb8 Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
(Reduces make output by ~ 20%)
2002-08-19 09:41:27 +00:00
ross 814f296b77 Generate <>& symbolically. 2002-02-07 07:00:09 +00:00
wiz feb03dd1b2 Fix typo. 2001-09-15 11:16:14 +00:00
thorpej 16487fdfe0 Add a library to access PCI devices. 2001-09-13 22:52:19 +00:00