ibmasm driver: fix command buffer size
PATCH 1/4 ibmasm driver: fix command buffer size
Hi,
here are four patches for the ibmasm driver.
(that is the driver for the IBM xSeries RSA service processor) The patches are against the 2.6.16-rc6 kernel.
To summarize what they do:
[1] change a #define for the buffer size for commands
[2] Fix a bug where threads in the event handling code calling wait_event_interruptible() weren't woken up as expected.
[3] Redesigned how remote mouse and keyboard events received by the driver are handled.
[4] Fixed a race in the command reference counting logic.
Please apply.
Here is the first one:
Signed-off-by Max Asbock <[email protected]>
drivers/misc/ibmasm/ibmasm.h +1 -1
@@ -52,7 +52,7 @@#define IBMASM_CMD_TIMEOUT_NORMAL 45#define IBMASM_CMD_TIMEOUT_EXTRA 240 -#define IBMASM_CMD_MAX_BUFFER_SIZE 0x4000 +#define IBMASM_CMD_MAX_BUFFER_SIZE 0x8000#define REVERSE_HEARTBEAT_TIMEOUT 120