Commit Graph

9 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
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
5d13788b5e u_int -> unsigned; also requires stddef.h and stdint.h to be compilable. 2016-01-22 22:22:48 +00:00
christos
339c89dc93 Adjust to kernel changes 2014-09-21 14:32:37 +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
mycroft
42a0ee466b Modify prototype for pci_findvendor() and add pci_findproduct(). 2004-08-03 03:32:43 +00:00
kleink
7407d114f9 Catch up with the kernel: new buffer length argument to pci_devinfo(). 2004-04-24 09:56:36 +00:00
thorpej
16487fdfe0 Add a library to access PCI devices. 2001-09-13 22:52:19 +00:00