summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/fire/fire_saver.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/syscons/fire/fire_saver.c')
-rw-r--r--sys/dev/syscons/fire/fire_saver.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/syscons/fire/fire_saver.c b/sys/dev/syscons/fire/fire_saver.c
index 2cdee0b..0bc031c 100644
--- a/sys/dev/syscons/fire/fire_saver.c
+++ b/sys/dev/syscons/fire/fire_saver.c
@@ -105,7 +105,7 @@ fire_update(video_adapter_t *adp)
static int
fire_saver(video_adapter_t *adp, int blank)
{
- int i, pl;
+ int pl;
if (blank) {
/* switch to graphics mode */
@@ -118,10 +118,7 @@ fire_saver(video_adapter_t *adp, int blank)
banksize = adp->va_window_size;
bpsl = adp->va_line_width;
splx(pl);
- for (i = 0; i < bpsl * scrh; i += banksize) {
- set_origin(adp, i);
- bzero(vid, banksize);
- }
+ (*vidsw[adp->va_index]->clear)(adp);
}
fire_update(adp);
} else {
OpenPOWER on IntegriCloud