libdrm: Implement drmParsePciDeviceInfo for FreeBSD

Graphics / Mesa 3D Graphics Library / libdrm - Emmanuel Vadot [FreeBSD.Org] - 21 April 2020 17:26 UTC

The FreeBSD kernel expose a pseudo-device /dev/pci to obtain information about present PCI device. Uee the PCIOCGETCONF ioctl on this device to look up the desired device information.

e321dd7a libdrm: Implement drmParsePciDeviceInfo for FreeBSD
xf86drm.c | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)

Upstream: cgit.freedesktop.org


  • Share