Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760253AbXKUK2Z (ORCPT ); Wed, 21 Nov 2007 05:28:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753728AbXKUK2R (ORCPT ); Wed, 21 Nov 2007 05:28:17 -0500 Received: from ns.suse.de ([195.135.220.2]:42273 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752611AbXKUK2R (ORCPT ); Wed, 21 Nov 2007 05:28:17 -0500 Date: Wed, 21 Nov 2007 10:53:54 +0100 Message-ID: From: Takashi Iwai To: Rene Herman Cc: trenn@suse.de, ALSA devel , linux-kernel , "yakui.zhao" , "Li, Shaohua" , akpm , Alan Cox , Bjorn Helgaas Subject: Re: [alsa-devel] [PATCH 2/3] PNP cleanups - Unify the pnp macros to access resources in the pnp resource table In-Reply-To: <4742EFBE.6030407@keyaccess.nl> References: <1195552283.23700.166.camel@queen.suse.de> <20071120123102.03bdaa67@the-village.bc.nu> <1195568360.23700.202.camel@queen.suse.de> <4742EFBE.6030407@keyaccess.nl> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta28) (fuki) (+CVS-20070806) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1151 Lines: 29 At Tue, 20 Nov 2007 15:31:26 +0100, Rene Herman wrote: > > On 20-11-07 15:19, Thomas Renninger wrote: > > > At the end is some example code how things could get even more cleaned > > up. It shows how I think pnp layer and one example driver would get > > adjusted. There are not that much drivers making use of > > pnp_resource_change... > > The ALSA ISA-PnP drivers do in what I personally consider a bad layering > violation. Brought up not doing that a while ago on alsa-devel, but no > discussion ensued. If the PnP maintainer(s) agree with me though, I'd be > more than happy to rip all of that out of ALSA. I'm fine with removal of that stuff now. It was implemented in that way because there was no proper way to re-assign ISA PnP resources on 2.4 kernel time. On 2.6, it makes no longer any sense (except for compatibility, but this is almost no problem for PnP boards). thanks, Takashi - 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/