FreeBSD
Objective :
List or show PCI devices
Command :
pciconf -h usage: pciconf -l [-bcv] pciconf -a selector pciconf -r [-b | -h] selector addr[:addr2] pciconf -w [-b | -h] selector addr value
Example :
$ pciconf -l hostb0@pci0:0:0:0: class=0x060000 card=0x00000000 chip=0x12378086 rev=0x02 hdr=0x00 isab0@pci0:0:1:0: class=0x060100 card=0x00000000 chip=0x70008086 rev=0x00 hdr=0x00 atapci0@pci0:0:1:1: class=0x01018a card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00 vgapci0@pci0:0:2:0: class=0x030000 card=0x00000000 chip=0xbeef80ee rev=0x00 hdr=0x00 em0@pci0:0:3:0: class=0x020000 card=0x001e8086 chip=0x100e8086 rev=0x02 hdr=0x00 none0@pci0:0:4:0: class=0x088000 card=0x00000000 chip=0xcafe80ee rev=0x00 hdr=0x00 none1@pci0:0:7:0: class=0x068000 card=0x00000000 chip=0x71138086 rev=0x08 hdr=0x00 atapci1@pci0:0:13:0: class=0x010601 card=0x00000000 chip=0x28298086 rev=0x02 hdr=0x00
$ pciconf -lv hostb0@pci0:0:0:0: class=0x060000 card=0x00000000 chip=0x12378086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82440/1FX 440FX (Natoma) System Controller' class = bridge subclass = HOST-PCI isab0@pci0:0:1:0: class=0x060100 card=0x00000000 chip=0x70008086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'PIIX3 PCI-to-ISA Bridge (Triton II) (82371SB)' class = bridge subclass = PCI-ISA atapci0@pci0:0:1:1: class=0x01018a card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'PIIX4/4E/4M IDE Controller (82371AB/EB/MB)' class = mass storage subclass = ATA . . .
Shalom !!!
1 comment:
Shalom indeed. Thanks for the tip, I did wonder at some stage what the equivalent command was.
Post a Comment