<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE: [microblaze-uclinux] [PATCH 11/11] microblaze: Kconfig: Enable drivers for Microblaze</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>My thinking is that these drivers are likely to be used as a group,<BR>
hence it would be nice to make it easy to get them all visible/enabled somehow.<BR>
<BR>
Steve<BR>
<BR>
-----Original Message-----<BR>
From: John Williams [<A HREF="mailto:john.williams@petalogix.com">mailto:john.williams@petalogix.com</A>]<BR>
Sent: Sun 4/19/2009 4:03 PM<BR>
To: microblaze-uclinux@itee.uq.edu.au<BR>
Cc: grant.likely@secretlab.ca; Stephen Neuendorffer; linuxppc-dev; linux-kernel@vger.kernel.org; John Linn<BR>
Subject: Re: [microblaze-uclinux] [PATCH 11/11] microblaze: Kconfig: Enable drivers for Microblaze<BR>
<BR>
On Sun, Apr 19, 2009 at 12:41 PM, Stephen Neuendorffer<BR>
&lt;stephen.neuendorffer@gmail.com&gt; wrote:<BR>
&gt;<BR>
&gt;<BR>
&gt; On Fri, Apr 17, 2009 at 10:49 PM, Grant Likely &lt;grant.likely@secretlab.ca&gt;<BR>
&gt; wrote:<BR>
&gt;&gt;<BR>
&gt;&gt; On Fri, Apr 17, 2009 at 11:06 AM, Stephen Neuendorffer<BR>
&gt;&gt; &lt;stephen.neuendorffer@xilinx.com&gt; wrote:<BR>
&gt;&gt; &gt;<BR>
&gt;&gt; &gt; Can we have XILINX_DRIVERS, please?  That way this can also be enabled<BR>
&gt;&gt; &gt; on any architecture that has FPGA peripherals.<BR>
&gt;&gt;<BR>
&gt;&gt; I've thought about this more, and I'd really rather not.  The list of<BR>
&gt;&gt; affected drivers is short and is not a large maintenance burden.  I<BR>
&gt;&gt; don't think a list of 2 or 3 architecture selects for each driver is<BR>
&gt;&gt; unreasonable.  A &quot;XILINX_DRIVERS&quot; config item doesn't really help much<BR>
&gt;&gt; anyway.  At any given time one of these drivers may be needed on<BR>
&gt;&gt; another platform.  ie. the SystemACE device is present on at least one<BR>
&gt;&gt; non-virtex, non-spartan platform.<BR>
&gt;<BR>
&gt; Which is exactly why having it architecture dependent isn't right...  All of<BR>
&gt; these drivers<BR>
&gt; could be needed and used on any OF-based platform.  If you have a platform<BR>
&gt; (for instance, a processor connected to an FPGA which has these peripherals<BR>
&gt; in the FPGA) then you should be able to enable these drivers.  Just my 2<BR>
&gt; cents...<BR>
<BR>
What about the radical approach of having NO architecture<BR>
filters/selectors?&nbsp; Even if some random i386 user selects one of these<BR>
drivers, so what?&nbsp; It will still compile cleanly (if it doesn't we<BR>
have to fix it), but there'll be no platform_device_register() call in<BR>
their machine startup to actually cause driver / device binding.<BR>
<BR>
No harm, no foul.&nbsp; Problem goes away.<BR>
<BR>
Then, as Grant points out, the rare cases where non-Xilinx platforms<BR>
do use this stuff, they'll presumably know what they're doing and it's<BR>
their responsibility to register the appropriate platform_device<BR>
structures and make the magic happen.<BR>
<BR>
John<BR>
--<BR>
John Williams, PhD, B.Eng, B.IT<BR>
PetaLogix - Linux Solutions for a Reconfigurable World<BR>
w: www.petalogix.com&nbsp; p: +61-7-30090663&nbsp; f: +61-7-30090663<BR>
<BR>
<BR>
</FONT>
</P>

<br clear=all> This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
</BODY>
</HTML>