Re: [PATCH] 2.4.20-pre5-ac4: Add support for ALi 5451 gameport

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Sep 10 2002 - 08:40:12 EST


On Tue, 2002-09-10 at 06:38, Vojtech Pavlik wrote:
> Very nice. I think this is for Alan. For normal 2.4, as you said,
> the pcigame.c code isn't much useful, because doesn't cooperate well
> with the trident.c code. For 2.5, pcigame code is embedded into
> trident.c to make things simpler.

I fixed that in 2.4 by making pcigame look for devices if the sound card
isnt compiled in for them, otherwise provide pcigame_attach and
pcigame_release functions that drivers can use to attach pci mmio
joystick interfaces to their hardware. Works very nicely and saves
embedded one completely in the other.

Alan

-
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 : Sun Sep 15 2002 - 22:00:21 EST