Re: call for testers - switching ofppc to xorg X11
Frank Wille <frank <at> phoenix.owl.de>
2010-12-11 16:50:17 GMT
Michael wrote:
>> "pcictl list" doesn't show it, either. i'd expect to see it on
>> pci0, but it isn't:
>>
>> # dmesg|grep 'at pci0'
>> pchb0 at pci0 dev 0 function 0
>> genfb0 at pci0 dev 8 function 0: ATI Technologies Radeon 9200PRO 5960
>> genfb1 at pci0 dev 8 function 1: ATI Technologies Radeon 9200 Pro
>> Secondary
>> # pcictl pci0 list
>> 000:00:0: Marvell MV6436x System Controller (host bridge, revision
>> 0x03)
>
> This is weird - if pcictl can't see it then neither can libpciaccess,
> all it does is walk over /dev/pci* nodes. You can't really blame Xorg
> for that.
Indeed, that's a bug in ofppc/pci/gt_mainbus.c (it worked with pegasospci
before). The following patch fixes that. I will committ the patch as soon
as kiyohara <at> , who wrote this file, gives his ok (or doesn't object).
Index: gt_mainbus.c
===================================================================
RCS file: /cvsroot/src/sys/arch/ofppc/pci/gt_mainbus.c,v
retrieving revision 1.2
diff -u -r1.2 gt_mainbus.c
--- gt_mainbus.c 20 Jun 2010 00:25:41 -0000 1.2
+++ gt_mainbus.c 11 Dec 2010 16:30:53 -0000
<at> <at> -49,6 +49,7 <at> <at>
(Continue reading)