bus width and PCIe version
Freddie Cash
fjwcash at gmail.com
Tue Mar 27 21:39:10 UTC 2012
On Tue, Mar 27, 2012 at 2:14 PM, Jack Vogel <jfvogel at gmail.com> wrote:
> I'm pretty sure that pciconf can give you this information, but you need to
> use the right flags, not to mention that you look at the correct device.
Yeah, it does:
# pciconf -lc
...
igb1 at pci0:2:0:1: class=0x020000 card=0x10c915d9 chip=0x10c98086
rev=0x01 hdr=0x00
cap 01[40] = powerspec 3 supports D0 D3 current D0
cap 05[50] = MSI supports 1 message, 64 bit, vector masks
cap 11[70] = MSI-X supports 10 messages in map 0x1c enabled
cap 10[a0] = PCI-Express 2 endpoint max data 128(512) link x4(x4)
...
mps1 at pci0:3:0:0: class=0x010700 card=0x040015d9 chip=0x00721000
rev=0x03 hdr=0x00
vendor = 'LSI Logic / Symbios Logic'
device = 'SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]'
class = mass storage
subclass = SAS
cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 10[68] = PCI-Express 2 endpoint max data 128(4096) link x8(x8)
cap 03[d0] = VPD
cap 05[a8] = MSI supports 1 message, 64 bit
cap 11[c0] = MSI-X supports 15 messages in map 0x14 enabled
...
--
Freddie Cash
fjwcash at gmail.com
More information about the freebsd-net
mailing list