diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-03-15 18:40:18 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-03-15 18:40:18 +0000 |
commit | 9ff521fa82ed0cb58d169bbe3cdc21b0ba9051c4 (patch) | |
tree | 8627b05f1227caa70f0203386bf67205eacd8d55 /sys/dev/sbus/bwtwo.c | |
parent | 21a609c63ad15a12cd0ec640ee378bf1529aeb42 (diff) |
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.
Diffstat (limited to 'sys/dev/sbus/bwtwo.c')
-rw-r--r-- | sys/dev/sbus/bwtwo.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/dev/sbus/bwtwo.c b/sys/dev/sbus/bwtwo.c index a8cd63d6b39..70d4843318c 100644 --- a/sys/dev/sbus/bwtwo.c +++ b/sys/dev/sbus/bwtwo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bwtwo.c,v 1.14 2005/03/07 16:44:52 miod Exp $ */ +/* $OpenBSD: bwtwo.c,v 1.15 2005/03/15 18:40:16 miod Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -114,7 +114,6 @@ int bwtwo_show_screen(void *, void *, int, void (*cb)(void *, int, int), paddr_t bwtwo_mmap(void *, off_t, int); int bwtwo_is_console(int); void bwtwo_burner(void *, u_int, u_int); -void bwtwo_updatecursor(struct rasops_info *); struct wsdisplay_accessops bwtwo_accessops = { bwtwo_ioctl, @@ -208,7 +207,6 @@ bwtwoattach(parent, self, aux) fbwscons_init(&sc->sc_sunfb, console ? 0 : RI_CLEAR); if (console) { - sc->sc_sunfb.sf_ro.ri_updatecursor = bwtwo_updatecursor; fbwscons_console_init(&sc->sc_sunfb, -1); } @@ -363,15 +361,3 @@ bwtwo_burner(vsc, on, flags) FBC_WRITE(sc, FBC_CTRL, fbc); splx(s); } - -void -bwtwo_updatecursor(ri) - struct rasops_info *ri; -{ - struct bwtwo_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; -} |