Date: Tue, 27 Mar 2012 14:39:08 -0700 From: Freddie Cash <fjwcash@gmail.com> To: freebsd-net@freebsd.org Subject: Re: bus width and PCIe version Message-ID: <CAOjFWZ7E3MR%2BJgHmk7WnGh6zQEwHftj1nGymSm82MswjCSX_DA@mail.gmail.com> In-Reply-To: <CAFOYbcnt8=_KKYyyNJsDbC=Pm_KM5tueJxd5BGBE7c949tbfHQ@mail.gmail.com> References: <5E4F49720D0BAD499EE1F01232234BA8743824C2AD@AVEXMB1.qlogic.org> <20120327210818.GA10492@owl.midgard.homeip.net> <CAFOYbcnt8=_KKYyyNJsDbC=Pm_KM5tueJxd5BGBE7c949tbfHQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 27, 2012 at 2:14 PM, Jack Vogel <jfvogel@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@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@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@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ7E3MR%2BJgHmk7WnGh6zQEwHftj1nGymSm82MswjCSX_DA>
