Re: CONFIG_SOUND_GAMEPORT in 2.5

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Thu Mar 14 2002 - 03:19:15 EST


On Thu, Mar 14, 2002 at 09:12:04AM +0100, Guennadi Liakhovetski wrote:
> > > drivers/input/gameport/Config.in doesn't seem quite right to me, in
> > > general and for ARM specifically:
> > > if [ "$CONFIG_GAMEPORT" = "m" ]; then
> > > define_tristate CONFIG_SOUND_GAMEPORT m
> > > fi
> > > if [ "$CONFIG_GAMEPORT" != "m" ]; then
> > > define_tristate CONFIG_SOUND_GAMEPORT y
> > > fi
> > >
> > > Could the maintainer please change this?
> >
> > What's the problem here?
>
> The problem is, that if you don't have anything like a sound-card/gameport
> at all, CONFIG_SOUND_GAMEPORT still will be YES. Ok, I didn't check in the
> code, maybe it doesn't add a single byte to the kernel, .config looks a
> bit confusing, doesn't it?

Yes, it doesn't add anything. It's just a switch that *disables*
gameport code in sound drivers if no gameport support is selected in the
kernel.

-- 
Vojtech Pavlik
SuSE Labs
-
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/



This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:17 EST