Print PCI devices info

FreeBSD provides pciconf command which can list PCI devices info:

  1. # pciconf -lv
  2. hostb0@pci0:0:0:0: class=0x060000 card=0x197615ad chip=0x71908086 rev=0x01 hdr=0x00
  3. vendor = 'Intel Corporation'
  4. device = '440BX/ZX/DX - 82443BX/ZX/DX Host bridge'
  5. class = bridge
  6. subclass = HOST-PCI
  7. pcib1@pci0:0:1:0: class=0x060400 card=0x00000000 chip=0x71918086 rev=0x01 hdr=0x01
  8. vendor = 'Intel Corporation'
  9. device = '440BX/ZX/DX - 82443BX/ZX/DX AGP bridge'
  10. class = bridge
  11. subclass = PCI-PCI
  12. isab0@pci0:0:7:0: class=0x060100 card=0x197615ad chip=0x71108086 rev=0x08 hdr=0x00
  13. vendor = 'Intel Corporation'
  14. device = '82371AB/EB/MB PIIX4 ISA'
  15. class = bridge
  16. subclass = PCI-ISA
  17. ......

If you are accustomed to lspci which is shipped on GNU/Linux, you can install it yourself:

  1. # pkg install pciutils
  2. ......
  3. # lspci
  4. 00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
  5. 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
  6. 00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
  7. ......

Reference:
“lspci” & pciconf commands in FreeBSD.