From 999ad6ac1fb3ab689e3e3d8269b1e95d844f444d Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 24 May 2003 17:42:30 +0000 Subject: Disable off-screen font loading. We still need to use the pdc console routines before we switch to wsdisplay, and this can clobber the font image in some cases, especially lower (<= 1024x768) resolutions. --- sys/dev/ic/sti.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/ic/sti.c b/sys/dev/ic/sti.c index a3c1d81e4d8..288fef8e885 100644 --- a/sys/dev/ic/sti.c +++ b/sys/dev/ic/sti.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sti.c,v 1.24 2003/04/03 23:09:36 mickey Exp $ */ +/* $OpenBSD: sti.c,v 1.25 2003/05/24 17:42:29 miod Exp $ */ /* * Copyright (c) 2000-2003 Michael Shalayeff @@ -374,12 +374,15 @@ int sti_fetchfonts(struct sti_softc *sc, struct sti_inqconfout *cfg, u_int32_t addr) { struct sti_font *fp = &sc->sc_curfont; - int uc, size; + int size; +#ifdef notyet + int uc; struct { struct sti_unpmvflags flags; struct sti_unpmvin in; struct sti_unpmvout out; } a; +#endif /* * Get the first PROM font in memory @@ -423,6 +426,7 @@ sti_fetchfonts(struct sti_softc *sc, struct sti_inqconfout *cfg, u_int32_t addr) addr = NULL; /* fp->next */ } while (addr); +#ifdef notyet /* * If there is enough room in the off-screen framebuffer memory, * display all the characters there in order to display them @@ -456,6 +460,7 @@ sti_fetchfonts(struct sti_softc *sc, struct sti_inqconfout *cfg, u_int32_t addr) free(sc->sc_romfont, M_DEVBUF); sc->sc_romfont = NULL; } +#endif return (0); } -- cgit v1.2.3