Date: Tue, 10 Dec 2013 21:30:06 +0200 From: Alexander Motin <mav@FreeBSD.org> To: Gleb Smirnoff <glebius@FreeBSD.org>, Adrian Chadd <adrian@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r259150 - head/sys/dev/cxgbe Message-ID: <52A76BBE.5030903@FreeBSD.org> In-Reply-To: <20131210192650.GK4615@FreeBSD.org> References: <201312100007.rBA074Qq055579@svn.freebsd.org> <20131210192650.GK4615@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10.12.2013 21:26, Gleb Smirnoff wrote: > On Tue, Dec 10, 2013 at 12:07:04AM +0000, Adrian Chadd wrote: > A> Author: adrian > A> Date: Tue Dec 10 00:07:04 2013 > A> New Revision: 259150 > A> URL: http://svnweb.freebsd.org/changeset/base/259150 > A> > A> Log: > A> Print out the full PCIe link negotiation during dmesg. > A> > A> I found this useful when checking whether a NIC is in a PCIE 3.0 8x slot > A> or not. > A> > A> Reviewed by: np > A> Sponsored by: Netflix, inc. > > Shouldn't this be done with common code for all drivers > on PCI bus(es)? > > This is definitely useful for all devices, not to cxgbe(4) only. Why not just read `pciconf -lc` output for that? -- Alexander Motin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52A76BBE.5030903>