1 diff -Nur c3000_pre/linux/drivers/video/fbcon-cfb16.c c3000_work/linux/drivers/video/fbcon-cfb16.c
2 --- c3000_pre/linux/drivers/video/fbcon-cfb16.c 2004-12-16 22:55:38.000000000 +0900
3 +++ c3000_work/linux/drivers/video/fbcon-cfb16.c 2004-12-19 00:11:24.000000000 +0900
6 width *= fontwidth(p)/4;
7 #if defined(CONFIG_FBCON_ROTATE_R) || defined(CONFIG_FBCON_ROTATE_L)
8 - if (width * 8 == bytes)
9 + if (height * 8 == bytes)
10 rectfill(dest, 1, lines * width * 4, bgx, bytes);
12 rectfill(dest, lines, width * 4, bgx, bytes);
13 diff -Nur c3000_pre/linux/drivers/video/fbcon.c c3000_work/linux/drivers/video/fbcon.c
14 --- c3000_pre/linux/drivers/video/fbcon.c 2004-12-16 22:55:38.000000000 +0900
15 +++ c3000_work/linux/drivers/video/fbcon.c 2004-12-19 00:28:12.000000000 +0900
18 static void fbcon_setup(int con, int init, int logo);
19 #if defined(CONFIG_FBCON_ROTATE_R) || defined(CONFIG_FBCON_ROTATE_L)
20 -static __inline__ int real_x(struct display *p, int ypos);
21 +static __inline__ int real_x(struct display *p, int xpos);
23 static __inline__ int real_y(struct display *p, int ypos);
26 static __inline__ void xpan_down(int unit, struct vc_data *conp,
27 struct display *p, int count);
28 static void fbcon_bmove_rec(struct display *p, int sx, int sy, int dx, int dy,
29 - int height, int width, u_int y_break);
30 + int height, int width, u_int x_break);
32 static __inline__ void ywrap_up(int unit, struct vc_data *conp,
33 struct display *p, int count);
36 #if defined(CONFIG_FBCON_ROTATE_R) || defined(CONFIG_FBCON_ROTATE_L)
37 if ((sx <= p->cursor_x) && (p->cursor_x < sx+height) &&
38 - (sx <= p->cursor_y) && (p->cursor_y < sy+width)) {
39 + (sy <= p->cursor_y) && (p->cursor_y < sy+width)) {
41 if ((sy <= p->cursor_y) && (p->cursor_y < sy+height) &&
42 (sx <= p->cursor_x) && (p->cursor_x < sx+width)) {
44 if (p->dispsw->cursor) {
45 #if defined(CONFIG_FBCON_ROTATE_R) || defined(CONFIG_FBCON_ROTATE_L)
46 p->cursor_y = conp->vc_y;
49 p->dispsw->cursor(p, mode, p->cursor_y, real_x(p, p->cursor_x));
51 p->cursor_x = conp->vc_x;