Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754461AbZDUCYr (ORCPT ); Mon, 20 Apr 2009 22:24:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752878AbZDUCYh (ORCPT ); Mon, 20 Apr 2009 22:24:37 -0400 Received: from rv-out-0506.google.com ([209.85.198.238]:8756 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752521AbZDUCYh convert rfc822-to-8bit (ORCPT ); Mon, 20 Apr 2009 22:24:37 -0400 MIME-Version: 1.0 In-Reply-To: References: <764365e7af2e476e43cd674738e51f13b306979b.1239874968.git.monstr@monstr.eu> <74c0088dfda1816c21914c0a8da0c42908526c5e.1239874968.git.monstr@monstr.eu> <20090417170707.B6C95C4004F@mail150-wa4.bigfish.com> <495563870904181941o5a66126dgb59d8cad2b7a66f2@mail.gmail.com> <1d3f23370904191603s37a6a34clccc397707394650b@mail.gmail.com> <977C41F842E66D4CB2E41332313B6150069D3D27@XSJ-EXCHVS1.xlnx.xilinx.com> <20090420143606.4309C74804E@mail192-wa4.bigfish.com> Date: Tue, 21 Apr 2009 12:24:36 +1000 Message-ID: <1d3f23370904201924n4ab592cdq49a4a4c8ec78d1df@mail.gmail.com> Subject: Re: [microblaze-uclinux] [PATCH 11/11] microblaze: Kconfig: Enable drivers for Microblaze From: John Williams To: Grant Likely Cc: John Linn , Stephen Neuendorffer , microblaze-uclinux@itee.uq.edu.au, linuxppc-dev , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1768 Lines: 50 On Tue, Apr 21, 2009 at 12:48 AM, Grant Likely wrote: > On Mon, Apr 20, 2009 at 8:36 AM, John Linn wrote: >>> -----Original Message----- >>> From: Stephen Neuendorffer >>> Sent: Sunday, April 19, 2009 11:52 PM >>> To: John Williams; microblaze-uclinux@itee.uq.edu.au >>> Cc: grant.likely@secretlab.ca; linuxppc-dev; linux-kernel@vger.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/