summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-wrs/connect-size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux/linux-wrs/connect-size.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-wrs/connect-size.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-wrs/connect-size.patch b/meta/recipes-kernel/linux/linux-wrs/connect-size.patch
new file mode 100644
index 0000000000..a78629c85c
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-wrs/connect-size.patch
@@ -0,0 +1,35 @@
1Increase the connector message size to avoid message to long errors from
2uvesafb as per the below dmesg fragment:
3
4uvesafb: Bochs/Plex86 Developers, Bochs/Plex86 VBE Adapter, $Id$, OEM: Bochs/Plex86 VBE(C) 2003 http://savannah.nongnu.org/projects/vgabios/, VBE v2.0
5uvesafb: no monitor limits have been set, default refresh rate will be used
6uvesafb: scrolling: redraw
7uvesafb: framebuffer at 0xe0000000, mapped to 0xffffc90000080000, using 8192k, total 8192k
8fb0: VESA VGA frame buffer device
9uvesafb: message too long (57808), can't execute task
10uvesafb: VBE get state call failed (eax=0x4f04, err=-7)
11udev: starting version 158
12EXT3-fs (hda): using internal journal
13uvesafb: message too long (57808), can't execute task
14uvesafb: VBE get state call failed (eax=0x4f04, err=-7)
15uvesafb: message too long (57808), can't execute task
16uvesafb: VBE get state call failed (eax=0x4f04, err=-7)
17uvesafb: message too long (57808), can't execute task
18uvesafb: VBE get state call failed (eax=0x4f04, err=-7)
19
20JL 13/0/10
21
22Index: linux/include/linux/connector.h
23===================================================================
24--- linux.orig/include/linux/connector.h 2010-08-13 13:16:28.000000000 +0100
25+++ linux/include/linux/connector.h 2010-08-13 13:18:29.507791929 +0100
26@@ -48,7 +48,8 @@
27 /*
28 * Maximum connector's message size.
29 */
30-#define CONNECTOR_MAX_MSG_SIZE 16384
31+//#define CONNECTOR_MAX_MSG_SIZE 16384
32+#define CONNECTOR_MAX_MSG_SIZE 65536
33
34 /*
35 * idx and val are unique identifiers which