Skip to contentSkip to conversation

ibmasm driver: fix command buffer size

PATCH New Max Asbock 1 participant 1 message Jun 16, 2005 Char and misc drivers

lore
Share & tools
lore

Max Asbock

author
#0 lore raw

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:

drivers/misc/ibmasm/ibmasm.h +1 -1
diff -urN linux-2.6.12-rc6/drivers/misc/ibmasm/ibmasm.h linux-2.6.12-rc6.ibmasm/drivers/misc/ibmasm/ibmasm.h
@@ -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