[patch][1/4] ibmasm driver: fix command buffer size

From: Max Asbock
Date: Thu Jun 16 2005 - 15:22:17 EST


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 <masbock@xxxxxxxxxx>


diff -urN linux-2.6.12-rc6/drivers/misc/ibmasm/ibmasm.h linux-2.6.12-rc6.ibmasm/drivers/misc/ibmasm/ibmasm.h
--- linux-2.6.12-rc6/drivers/misc/ibmasm/ibmasm.h 2005-03-01 23:37:48.000000000 -0800
+++ linux-2.6.12-rc6.ibmasm/drivers/misc/ibmasm/ibmasm.h 2005-06-08 17:54:09.534984912 -0700
@@ -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




-
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/