svn commit: r258930 - head/sys/dev/drm2
Jean-Sébastien Pédron
dumbbell at FreeBSD.org
Thu Dec 5 09:53:56 UTC 2013
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
>>
>> Before this fix, capabilities were read from vgapci and were incorrect.
>
> Eh, vgapci is the right place to read this. The LINK_CAP here is telling
> you the width of the slot you are plugged into, not the width of the card
> 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.
--
Jean-Sébastien Pédron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20131205/fe3ea579/attachment.sig>
More information about the svn-src-all
mailing list