diff options
author | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2005-04-30 23:13:48 +0000 |
---|---|---|
committer | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2005-04-30 23:13:48 +0000 |
commit | 9479c2e19a026a1ee0fbc8ee0500110d30d22f00 (patch) | |
tree | 4d7349d8665c9c961bab2fde87bce6754bf79d91 /sys/arch/arm | |
parent | cf695b9e1ee8636d79af8e0aefc96286e2ebaffe (diff) |
Temporary hack to (un)rotate the Zaurus console until a proper rasops
rotation framework is ready.
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/xscale/pxa2x0_lcd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0_lcd.c b/sys/arch/arm/xscale/pxa2x0_lcd.c index c32df339e3e..dc70d78c0a8 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.17 2005/04/11 03:32:48 uwe Exp $ */ +/* $OpenBSD: pxa2x0_lcd.c,v 1.18 2005/04/30 23:13:47 pascoe Exp $ */ /* $NetBSD: pxa2x0_lcd.c,v 1.8 2003/10/03 07:24:05 bsh Exp $ */ /* @@ -591,7 +591,12 @@ pxa2x0_lcd_setup_rasops(struct rasops_info *rinfo, descr->c.capabilities = rinfo->ri_caps; descr->c.textops = &rinfo->ri_ops; } else +#ifndef __zaurus__ rasops_init(rinfo, descr->c.nrows, descr->c.ncols); +#else + /* XXX swap rows/cols for second call because of rotation */ + rasops_init(rinfo, descr->c.ncols, descr->c.nrows); +#endif } /* |