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:
4fbb715
)
Revert "fbcon: bgcolor fix"
author
Linus Torvalds
<
[email protected]
>
Mon, 11 Aug 2008 17:29:11 +0000
(10:29 -0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 11 Aug 2008 17:29:11 +0000
(10:29 -0700)
This reverts commit
2d04a4a72d7e1519b4838f24bdd4b5d0f3f426dc
, which made
it impossible to make the softcursor use the highlight colors.
Yes, the fourth bit should be "blinking", but since we cannot reasonably
blink in fbcon, highlighting it with a bright background is preferable.
Reported-by: Pavel Machek <
[email protected]
>
Cc: Stefano Stabellini <
[email protected]
>
Cc: Krzysztof Helt <
[email protected]
>
Cc: Antonino A. Daplas <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/console/fbcon.h
patch
|
blob
|
history
diff --git
a/drivers/video/console/fbcon.h
b/drivers/video/console/fbcon.h
index de1b1365279b90dcafc6dd34ab804e7b7d33ab49..a6e38e9ea73f59e3b65e7f979c9481f8004c1fc0 100644
(file)
--- a/
drivers/video/console/fbcon.h
+++ b/
drivers/video/console/fbcon.h
@@
-92,7
+92,7
@@
struct fbcon_ops {
#define attr_fgcol(fgshift,s) \
(((s) >> (fgshift)) & 0x0f)
#define attr_bgcol(bgshift,s) \
- (((s) >> (bgshift)) & 0x0
7
)
+ (((s) >> (bgshift)) & 0x0
f
)
/* Monochrome */
#define attr_bold(s) \