From 9ff521fa82ed0cb58d169bbe3cdc21b0ba9051c4 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 15 Mar 2005 18:40:18 +0000 Subject: Take care of updating the PROMs view of the cursor position in the common fb code, rather than doing this in only a subset of the fb drivers. --- sys/arch/sparc64/dev/creator.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'sys/arch/sparc64/dev/creator.c') diff --git a/sys/arch/sparc64/dev/creator.c b/sys/arch/sparc64/dev/creator.c index aa234a112ae..03172058173 100644 --- a/sys/arch/sparc64/dev/creator.c +++ b/sys/arch/sparc64/dev/creator.c @@ -1,4 +1,4 @@ -/* $OpenBSD: creator.c,v 1.32 2005/03/07 16:44:52 miod Exp $ */ +/* $OpenBSD: creator.c,v 1.33 2005/03/15 18:40:15 miod Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -60,7 +60,6 @@ void creator_ras_init(struct creator_softc *); void creator_ras_copyrows(void *, int, int, int); void creator_ras_erasecols(void *, int, int, int, long int); void creator_ras_eraserows(void *, int, int, long int); -void creator_ras_updatecursor(struct rasops_info *); void creator_ras_fill(struct creator_softc *); void creator_ras_setfg(struct creator_softc *, int32_t); int creator_setcursor(struct creator_softc *, struct wsdisplay_cursor *); @@ -137,7 +136,6 @@ creator_attach(struct creator_softc *sc) } if (sc->sc_console) { - sc->sc_sunfb.sf_ro.ri_updatecursor = creator_ras_updatecursor; fbwscons_console_init(&sc->sc_sunfb, -1); } @@ -674,15 +672,3 @@ creator_ras_setfg(sc, fg) FBC_WRITE(sc, FFB_FBC_FG, fg); creator_ras_wait(sc); } - -void -creator_ras_updatecursor(ri) - struct rasops_info *ri; -{ - struct creator_softc *sc = ri->ri_hw; - - if (sc->sc_sunfb.sf_crowp != NULL) - *sc->sc_sunfb.sf_crowp = ri->ri_crow; - if (sc->sc_sunfb.sf_ccolp != NULL) - *sc->sc_sunfb.sf_ccolp = ri->ri_ccol; -} -- cgit v1.2.3