Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261903AbVCGXd0 (ORCPT ); Mon, 7 Mar 2005 18:33:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261854AbVCGWzV (ORCPT ); Mon, 7 Mar 2005 17:55:21 -0500 Received: from rproxy.gmail.com ([64.233.170.197]:63431 "EHLO rproxy.gmail.com") by vger.kernel.org with ESMTP id S261254AbVCGWFY (ORCPT ); Mon, 7 Mar 2005 17:05:24 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=SuxuVRkNEyCVNw4SZVVtRKwMK14Y7KRg5lVDzWLSLUCsMic14MOOC/o5YKoYdu+FNvBIYNljLwpP2NFM70PS9mg5FyVHAxC8txjKVlAfL85KvV76jcgVkkE7Vb5GZ1MCRec6yuK3R0dYuOWlZUKp1jRaxCA4i1MCXCtVnHEWKpY= Message-ID: Date: Mon, 7 Mar 2005 17:05:17 -0500 From: Dmitry Torokhov Reply-To: dtor_core@ameritech.net To: Adrian Bunk Subject: Re: 2.6.11-mm1: sound <-> GAMEPORT problems Cc: Borislav Petkov , perex@suse.cz, vojtech@suse.cz, Andrew Morton , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-input@atrey.karlin.mff.cuni.cz In-Reply-To: <20050307215206.GH3170@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20050304033215.1ffa8fec.akpm@osdl.org> <200503070941.59365.petkov@uni-muenster.de> <20050307215206.GH3170@stusta.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1965 Lines: 55 On Mon, 7 Mar 2005 22:52:06 +0100, Adrian Bunk wrote: > On Mon, Mar 07, 2005 at 09:41:59AM +0100, Borislav Petkov wrote: > > On Friday 04 March 2005 12:32, Andrew Morton wrote: > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11 > > >-mm1/ > > > > > > > > > Hi, > > > > the ymfpci sound driver wouldn't compile without gameport support selected > > since the sound card has a gameport on it: > > > > Signed-off-by: Borislav Petkov > > > > --- sound/pci/ymfpci/ymfpci.c.orig 2005-03-07 09:07:10.000000000 +0100 > > +++ sound/pci/ymfpci/ymfpci.c 2005-03-07 09:08:02.000000000 +0100 > > @@ -332,7 +332,9 @@ static int __devinit snd_card_ymfpci_pro > > } > > } > > > > +#ifdef SUPPORT_JOYSTICK > > snd_ymfpci_create_gameport(chip, dev, legacy_ctrl, legacy_ctrl2); > > +#endif /* SUPPORT_JOYSTICK */ > > > > if ((err = snd_card_register(card)) < 0) { > > snd_card_free(card); > > Nice catch (but I had to apply the patch manually due to some > whitespace damage). > > After a quick look, it seems there are a dozen other sound drivers (most > OSS but also ALSA) with similar problems. > > There are two possibilities: > 1. continue to #ifdef all GAMEPORT support in sound drivers > 2. remove all #ifdef's for GAMEPORT and let drivers that can use the > gameport (including the sound drivers) simply select GAMEPORT > As far as I can see, in this case GAMEPORT does no longer have to be > user-visible? > > I can send patches for both, but I'd prefer the second solution. > Not everyone wants gameport. I think say very small percentage of people using sound cards that can support gameports actually uses them. -- Dmitry - 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/