• NetBSD
  • Show driver attached to a PCI device

Hello,

Is there a way to show driver attached to a PCI device?

The only way I found to list PCI devices is the lspci from pciutils package. But it doesn't show attached drivers.

May be I can use drvctl or pcictl somehow?

In FreeBSD this can be done by pciconf or devinfo.

Thanks.