From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by ozlabs.org (Postfix) with ESMTP id 99615DDED4 for ; Sun, 22 Apr 2007 16:46:18 +1000 (EST) Date: Sun, 22 Apr 2007 08:46:14 +0200 From: Olaf Hering To: Milton Miller Subject: Re: generic check_legacy_ioport Message-ID: <20070422064614.GA18796@aepfle.de> References: <20070420185107.GA4972@aepfle.de> <200704220515.l3M5F7eH005962@sullivan.realtime.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <200704220515.l3M5F7eH005962@sullivan.realtime.net> Cc: linuxppc-dev@ozlabs.org, paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, Apr 22, Milton Miller wrote: > These are all ifdef'd for the driver being built-in. Yes, silly Kbuild. > Can we write someting generic instead that finds the isa > bus, then walks children looking for a direct child that > has a matching reg to the requested port? Why bother? Nothing else has device_type xyz in the device-tree, my patch handles all cases. The code can be updated when some new board comes along with different requirements.