summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-06-13 23:40:13 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-06-13 23:40:13 +0000
commitc37e3f0ff35cfc6e3b8f30186ad39e9620da7f39 (patch)
tree1b5e181c020be4b3d832dce8da531cb9749ff4be /sys/arch
parent50988696316ce71d3995b1af2824ec5d8332831b (diff)
eraserows() was missing a coordinate address latch.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/p9100.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/p9100.c b/sys/arch/sparc/dev/p9100.c
index d9d72fc1b74..543aa346f67 100644
--- a/sys/arch/sparc/dev/p9100.c
+++ b/sys/arch/sparc/dev/p9100.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: p9100.c,v 1.21 2003/06/13 21:04:45 miod Exp $ */
+/* $OpenBSD: p9100.c,v 1.22 2003/06/13 23:40:12 miod Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
@@ -901,6 +901,7 @@ p9100_ras_eraserows(void *v, int row, int n, long int attr)
sc->sc_cmd->de.raster = P9100_RASTER_PATTERN & P9100_RASTER_MASK;
sc->sc_cmd->de.color0 = P9100_COLOR8(bg);
+ P9100_SELECT_COORD(sc,lc.rect);
if (n == ri->ri_rows && ISSET(ri->ri_flg, RI_FULLCLEAR)) {
sc->sc_cmd->lc.rect.abs_x16y16 = P9100_COORDS(0, 0);
sc->sc_cmd->lc.rect.abs_x16y16 =