On Mon, 12 Nov 2001 04:19:51 -0500, 
"Eric S. Raymond" <[EMAIL PROTECTED]> wrote:
>Keith Owens <[EMAIL PROTECTED]>:
>> if (INPUT_GAMEPORT != n)
>>   (((SOUND_ESSSOLO1 == y) or ((SOUND_ES1370 == y) or ((SOUND_ES1371 == y) or 
>(SOUND_SONICVIBES == y)))) implies (INPUT_GAMEPORT == y))
>> endif
>
>The comment reads:
>
># A cross directory dependence. The sound modules will need gameport.o
># compiled in, but it resides in the drivers/char/joystick
># directory. This define_tristate takes care of that. --Vojtech
>
>This doesn't seem consistent with the code.  It reads as though if any of 
>these drivers are built, they need the game support to be compiled in.

The drivers get struct gameport but the gameport_register_port and
gameport_unregister_port functions are no-op when INPUT_GAMEPORT is not
selected, see linux/gameport.h.  Vojtech Pavlik and I went round this
loop several times between 2.4.5-ac4 and 2.4.5-ac17, you can definitely
build those sound drivers without gameport.  The rule is :-

  If INPUT_GAMEPORT is selected *and* one of the drivers that uses
  gameport is built in then INPUT_GAMEPORT must also be built in.
  Otherwise there is no restriction on INPUT_GAMEPORT.


_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to