diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P12-fbcon-fix_041219.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P12-fbcon-fix_041219.patch')
-rw-r--r-- | recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P12-fbcon-fix_041219.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P12-fbcon-fix_041219.patch b/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P12-fbcon-fix_041219.patch new file mode 100644 index 0000000000..37ca13e9a5 --- /dev/null +++ b/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P12-fbcon-fix_041219.patch @@ -0,0 +1,51 @@ +diff -Nur c3000_pre/linux/drivers/video/fbcon-cfb16.c c3000_work/linux/drivers/video/fbcon-cfb16.c +--- c3000_pre/linux/drivers/video/fbcon-cfb16.c 2004-12-16 22:55:38.000000000 +0900 ++++ c3000_work/linux/drivers/video/fbcon-cfb16.c 2004-12-19 00:11:24.000000000 +0900 +@@ -219,7 +219,7 @@ + + width *= fontwidth(p)/4; + #if defined(CONFIG_FBCON_ROTATE_R) || defined(CONFIG_FBCON_ROTATE_L) +- if (width * 8 == bytes) ++ if (height * 8 == bytes) + rectfill(dest, 1, lines * width * 4, bgx, bytes); + else + rectfill(dest, lines, width * 4, bgx, bytes); +diff -Nur c3000_pre/linux/drivers/video/fbcon.c c3000_work/linux/drivers/video/fbcon.c +--- c3000_pre/linux/drivers/video/fbcon.c 2004-12-16 22:55:38.000000000 +0900 ++++ c3000_work/linux/drivers/video/fbcon.c 2004-12-19 00:28:12.000000000 +0900 +@@ -247,7 +247,7 @@ + + static void fbcon_setup(int con, int init, int logo); + #if defined(CONFIG_FBCON_ROTATE_R) || defined(CONFIG_FBCON_ROTATE_L) +-static __inline__ int real_x(struct display *p, int ypos); ++static __inline__ int real_x(struct display *p, int xpos); + #else + static __inline__ int real_y(struct display *p, int ypos); + #endif +@@ -263,7 +263,7 @@ + static __inline__ void xpan_down(int unit, struct vc_data *conp, + struct display *p, int count); + static void fbcon_bmove_rec(struct display *p, int sx, int sy, int dx, int dy, +- int height, int width, u_int y_break); ++ int height, int width, u_int x_break); + #else + static __inline__ void ywrap_up(int unit, struct vc_data *conp, + struct display *p, int count); +@@ -1011,7 +1010,7 @@ + + #if defined(CONFIG_FBCON_ROTATE_R) || defined(CONFIG_FBCON_ROTATE_L) + if ((sx <= p->cursor_x) && (p->cursor_x < sx+height) && +- (sx <= p->cursor_y) && (p->cursor_y < sy+width)) { ++ (sy <= p->cursor_y) && (p->cursor_y < sy+width)) { + #else + if ((sy <= p->cursor_y) && (p->cursor_y < sy+height) && + (sx <= p->cursor_x) && (p->cursor_x < sx+width)) { +@@ -1235,7 +1234,7 @@ + if (p->dispsw->cursor) { + #if defined(CONFIG_FBCON_ROTATE_R) || defined(CONFIG_FBCON_ROTATE_L) + p->cursor_y = conp->vc_y; +- p->cursor_y = x; ++ p->cursor_x = x; + p->dispsw->cursor(p, mode, p->cursor_y, real_x(p, p->cursor_x)); + #else + p->cursor_x = conp->vc_x; |