Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2012 14:14:37 -0700
From:      Jack Vogel <jfvogel@gmail.com>
To:        Erik Trulsson <ertr1013@student.uu.se>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Adarsh Joshi <adarsh.joshi@qlogic.com>
Subject:   Re: bus width and PCIe version
Message-ID:  <CAFOYbcnt8=_KKYyyNJsDbC=Pm_KM5tueJxd5BGBE7c949tbfHQ@mail.gmail.com>
In-Reply-To: <20120327210818.GA10492@owl.midgard.homeip.net>
References:  <5E4F49720D0BAD499EE1F01232234BA8743824C2AD@AVEXMB1.qlogic.org> <20120327210818.GA10492@owl.midgard.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Some drivers, like ixgbe, will report this information to you when loading.

Jack


On Tue, Mar 27, 2012 at 2:08 PM, Erik Trulsson <ertr1013@student.uu.se>wrote:

> On Tue, Mar 27, 2012 at 09:55:45AM -0700, Adarsh Joshi wrote:
> > Hello,
> >
> > Is there a command or log message where I can find out the bus width and
> PCIe version number on which my adapter is put on?
> >
> > I did take a look at pciconf and devinfo and also the dmesg logs but
> could not find anything.
> >
> > I know it is visible on lspci on linux systems.
>
>
> You can use lspci on FreeBSD as well.  It is included in the
> sysutils/pciutils port.
>
>
>
> --
> <Insert your favourite quote here.>
> Erik Trulsson
> ertr1013@student.uu.se
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFOYbcnt8=_KKYyyNJsDbC=Pm_KM5tueJxd5BGBE7c949tbfHQ>