From owner-svn-src-head@FreeBSD.ORG Thu Dec 5 09:53:56 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B7B7E59; Thu, 5 Dec 2013 09:53:56 +0000 (UTC) Received: from mail.made4.biz (unknown [IPv6:2001:41d0:1:7018::1:3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4B5D51E58; Thu, 5 Dec 2013 09:53:56 +0000 (UTC) Received: from [2001:1b48:10b:cafe:225:64ff:febe:589f] (helo=viking.yzserv.com) by mail.made4.biz with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VoVd4-000AoX-QK; Thu, 05 Dec 2013 10:53:54 +0100 Message-ID: <52A04D2E.2040705@FreeBSD.org> Date: Thu, 05 Dec 2013 10:53:50 +0100 From: =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: John Baldwin Subject: Re: svn commit: r258930 - head/sys/dev/drm2 References: <201312041904.rB4J4vbM043709@svn.freebsd.org> <201312041518.33731.jhb@freebsd.org> In-Reply-To: <201312041518.33731.jhb@freebsd.org> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kk4HD96FtNUxwIvPoDbSUiuUBNa6rwJXr" Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Dec 2013 09:53:56 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kk4HD96FtNUxwIvPoDbSUiuUBNa6rwJXr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 04.12.2013 21:18, John Baldwin wrote: > On Wednesday, December 04, 2013 2:04:57 pm Jean-Sebastien Pedron wrote:= >> Author: dumbbell >> Date: Wed Dec 4 19:04:56 2013 >> New Revision: 258930 >> URL: http://svnweb.freebsd.org/changeset/base/258930 >> >> Log: >> drm: Read PCIER_LINK_CAP/PCIER_LINK_CAP2 from the PCI bridge >> =20 >> Before this fix, capabilities were read from vgapci and were incorre= ct. >=20 > Eh, vgapci is the right place to read this. The LINK_CAP here is telli= ng > you the width of the slot you are plugged into, not the width of the ca= rd > that is plugged into the slot. I'm sorry, my knowledge of PCI is very limited (still learning) and I don't understand your comment. Could you please expand on it? I believe this code has the correct result (eg, same result as Linux 3.8 on the same computer), but maybe I'm doing it wrong and I was just lucky.= --=20 Jean-S=C3=A9bastien P=C3=A9dron --kk4HD96FtNUxwIvPoDbSUiuUBNa6rwJXr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlKgTTIACgkQa+xGJsFYOlN9PACfdls9nEejg1vd9fEJ1Oy1r3cd mSEAoMCCXW4WL7c6LYQ8R//jCgUO+nIt =aSwE -----END PGP SIGNATURE----- --kk4HD96FtNUxwIvPoDbSUiuUBNa6rwJXr--