Re: [PATCH] hot-swapping support for PSX controllers

From: Vojtech Pavlik
Date: Tue Feb 08 2005 - 17:37:04 EST


On Sat, Feb 05, 2005 at 07:21:54PM +0100, Eric Piel wrote:
> Hello,
>
> For now, a bug in the PSX controllers support in gamecon prevents
> hot-swapping of such controllers. If a controllers is removed then all
> the controllers stop working and cpu usage gets high. The attached patch
> (against 2.6.11-rc3) corrects this bug by checking the information read
> from the controller. If the message length is bigger than the maximum
> possible, then it means the controller is not there and therefore this
> value should be discarded.
>
> Note that this is a re-send of a previous patch now that the patch of
> Peter (which had to be applied before this one) has been intregrated in
> the vanilla kernel. It's Peter's version modified to apply cleanly
> against 2.6.11-rc3 plus a fix in the comment.
>
> Please apply,
> Eric
>
> --
> Fixes hotplug support for PSX controllers and some mis-sized arrays.
>
> Signed-off-by: Eric Piel <eric.piel@xxxxxxxxxxxxxxxx>
> Signed-off-by: Peter Nelson <rufus-kernel@xxxxxxxxxxx>
> --

Thanks; applied.


--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/