projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2707cd0
)
vt: allow for the palette to be exposed and changed via sysfs
author
Jan Engelhardt
<jengelh@linux01.gwdg.de>
Tue, 8 May 2007 07:38:03 +0000
(
00:38
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:27 +0000
(11:15 -0700)
Allow for the palette to be exposed and changed via sysfs. A call to
/usr/bin/reset will slurp the new definitions in for the current console.
Already posted at http://lkml.org/lkml/2006/1/15/149
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/vt.c
patch
|
blob
|
history
diff --git
a/drivers/char/vt.c
b/drivers/char/vt.c
index afd00464184eff52b55ee01d7455e8eda0489fe9..4ef9a286a230722e4d0d5c464d56cfb88821fb46 100644
(file)
--- a/
drivers/char/vt.c
+++ b/
drivers/char/vt.c
@@
-934,6
+934,10
@@
int default_grn[] = {0x00,0x00,0xaa,0x55,0x00,0x00,0xaa,0xaa,
int default_blu[] = {0x00,0x00,0x00,0x00,0xaa,0xaa,0xaa,0xaa,
0x55,0x55,0x55,0x55,0xff,0xff,0xff,0xff};
+module_param_array(default_red, int, NULL, S_IRUGO | S_IWUSR);
+module_param_array(default_grn, int, NULL, S_IRUGO | S_IWUSR);
+module_param_array(default_blu, int, NULL, S_IRUGO | S_IWUSR);
+
/*
* gotoxy() must verify all boundaries, because the arguments
* might also be negative. If the given position is out of