diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-09-15 20:23:11 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-09-15 20:23:11 +0000 |
commit | 6759b09d281d276d3b3d54ffbef1c9980df9d67f (patch) | |
tree | 4a4c5917557819414a798bb184a102c0bf525cef /sys/arch/arm/xscale/pxa2x0_lcd.c | |
parent | 64393cf110217509a46347626cda13bdde46cf22 (diff) |
Stop compiling the texte console rotation code #ifdef __zaurus__, but use
a flag in the rasops_info structure; drivers which may use it shall declare
a specific attribute for the config(8) machinery, so that the necessary code
is compiled in.
In addition to this, rotated font computation is now done on-demand, and a
list of unrotated-rotated font cookie pairs is kept, rather than rotating all
built-in wsfonts at initialization time.
No user-perceptible functional change.
Tested matthieu@ uwe@, ok uwe@
Diffstat (limited to 'sys/arch/arm/xscale/pxa2x0_lcd.c')
-rw-r--r-- | sys/arch/arm/xscale/pxa2x0_lcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0_lcd.c b/sys/arch/arm/xscale/pxa2x0_lcd.c index d8854c58f81..fd2d2b2d0bd 100644 --- a/sys/arch/arm/xscale/pxa2x0_lcd.c +++ b/sys/arch/arm/xscale/pxa2x0_lcd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pxa2x0_lcd.c,v 1.19 2005/05/23 23:59:19 uwe Exp $ */ +/* $OpenBSD: pxa2x0_lcd.c,v 1.20 2005/09/15 20:23:10 miod Exp $ */ /* $NetBSD: pxa2x0_lcd.c,v 1.8 2003/10/03 07:24:05 bsh Exp $ */ /* @@ -563,7 +563,7 @@ pxa2x0_lcd_setup_rasops(struct rasops_info *rinfo, const struct lcd_panel_geometry *geom) { - rinfo->ri_flg = 0; + rinfo->ri_flg = descr->flags; rinfo->ri_depth = descr->depth; rinfo->ri_width = geom->panel_width; rinfo->ri_height = geom->panel_height; |