Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Dec 2013 10:53:50 +0100
From:      =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= <dumbbell@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r258930 - head/sys/dev/drm2
Message-ID:  <52A04D2E.2040705@FreeBSD.org>
In-Reply-To: <201312041518.33731.jhb@freebsd.org>
References:  <201312041904.rB4J4vbM043709@svn.freebsd.org> <201312041518.33731.jhb@freebsd.org>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52A04D2E.2040705>