[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#499501: xserver-xorg-core: does not detect video devices anymore (kfreebsd-amd64)



On Mon, Sep 22, 2008 at 21:35:24 +0200, Petr Salinger wrote:

> It is important to have the "pc_domain" field initialized,
> the "PCI_DOM_FROM_TAG(tag)" seems be better compared to plain "0".
>
> Please could you apply your fix. Many thanks.
>
Will do, thanks for testing.

>> FWIW, libpciaccess is used in newer versions of X for this, and has:
>> #if __FreeBSD_version >= 700053
>> #define DOMAIN_SUPPORT 1
>> #else
>> #define DOMAIN_SUPPORT 0
>> #endif
>>
>> and then sets io.pi_sel.pc_domain if DOMAIN_SUPPORT is non-zero.
>
> IMHO, it is a wrong way of testing. It should be changed as follows.
> Should I file a separate bug report against libpciaccess ?
>
I'll try to get the patch applied upstream.

Cheers,
Julien



Reply to: