[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1d3f23370904201924n4ab592cdq49a4a4c8ec78d1df@mail.gmail.com>
Date: Tue, 21 Apr 2009 12:24:36 +1000
From: John Williams <john.williams@...alogix.com>
To: Grant Likely <grant.likely@...retlab.ca>
Cc: John Linn <John.Linn@...inx.com>,
Stephen Neuendorffer <stephenn@...inx.com>,
microblaze-uclinux@...e.uq.edu.au,
linuxppc-dev <linuxppc-dev@...abs.org>,
linux-kernel@...r.kernel.org
Subject: Re: [microblaze-uclinux] [PATCH 11/11] microblaze: Kconfig: Enable
drivers for Microblaze
On Tue, Apr 21, 2009 at 12:48 AM, Grant Likely
<grant.likely@...retlab.ca> wrote:
> On Mon, Apr 20, 2009 at 8:36 AM, John Linn <John.Linn@...inx.com> wrote:
>>> -----Original Message-----
>>> From: Stephen Neuendorffer
>>> Sent: Sunday, April 19, 2009 11:52 PM
>>> To: John Williams; microblaze-uclinux@...e.uq.edu.au
>>> Cc: grant.likely@...retlab.ca; linuxppc-dev; linux-kernel@...r.kernel.org; John Linn
>>> Subject: RE: [microblaze-uclinux] [PATCH 11/11] microblaze: Kconfig: Enable drivers for Microblaze
>>>
>>>
>>> My thinking is that these drivers are likely to be used as a group,
>>> hence it would be nice to make it easy to get them all visible/enabled somehow.
>>>
>>> Steve
>>
>>
>> It seems like John's suggestion of no arch filters would satisfy that also. Since FPGAs are used in so many different applications this would seem to open the drivers up to everyone regardless of what processor they're using. It's certainly less complex so I like it in that way.
>>
>> But maybe I'm missing something here and there's a downside?
>
> No, I don't think there is.
>
> I think CONFIG_OF is the right thing to do.
Some (most?) of the Xilinx drivers currently have this construct:
#ifdef CONFIG_OF
// probe using OF
#else
// probe using platform_device
#endif
so unless this is going to change some time soon, maybe even CONFIG_OF
is too restrictive?
John
--
John Williams, PhD, B.Eng, B.IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663 f: +61-7-30090663
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists