tech-kern archive

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

Re: xorg pci probing



On 19.01.11 00:09, David Young wrote:
> On Wed, Jan 19, 2011 at 08:18:40AM +1100, matthew green wrote:
>> David Young wrote:
>>> On Tue, Jan 18, 2011 at 11:22:33AM +0100, Christoph Egger wrote:
>>>> Moving that function into wsdisplay.c will add bus dependencies
>>>> to wsdisplay.c.
>>>
>>> I think I agree with Christoph here: if he avoids sprinkling wsdisplay.c
>>> with bus-related #ifdefs by adding new files, he should definitely do
>>> that.
>>
>> that's a good idea.
>>
>> since it's PCI specific, perhaps sys/dev/pci/wsdisplay_pci.c is
>> a better place?
> 
> Sounds good.  Christoph, what do you think?

The scheme sys/dev/<bus>/wsdisplay_<bus>.[ch] where <bus>
is pci, sbus, etc. is fine with me.

Christoph


Home | Main Index | Thread Index | Old Index