diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-06-16 21:46:24 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-06-16 21:46:24 +0000 |
commit | 3bcdfae64103ce17f86699e3a1ee46ff85532b1c (patch) | |
tree | 4f49e7f4a8005883eda83438c95d1623093ad29d /sys/arch/sparc64/dev/vgafb.c | |
parent | 7f6e33db72912dc2b901703df85f5f51051db16e (diff) |
Nuke a few more data and code superseded by the fb api.
Diffstat (limited to 'sys/arch/sparc64/dev/vgafb.c')
-rw-r--r-- | sys/arch/sparc64/dev/vgafb.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/sparc64/dev/vgafb.c b/sys/arch/sparc64/dev/vgafb.c index 18a3d8b6f3a..62ab9e68798 100644 --- a/sys/arch/sparc64/dev/vgafb.c +++ b/sys/arch/sparc64/dev/vgafb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vgafb.c,v 1.33 2003/06/16 20:47:04 miod Exp $ */ +/* $OpenBSD: vgafb.c,v 1.34 2003/06/16 21:46:23 miod Exp $ */ /* * Copyright (c) 2001 Jason L. Wright (jason@thought.net) @@ -77,11 +77,6 @@ struct vgafb_softc { struct wsscreen_descr vgafb_stdscreen = { "std", - 0, 0, /* will be filled in -- XXX shouldn't, it's global. */ - NULL, - 0, 0, - WSSCREEN_UNDERLINE | WSSCREEN_HILIT | - WSSCREEN_REVERSE | WSSCREEN_WSCOLORS }; const struct wsscreen_descr *vgafb_scrlist[] = { @@ -158,7 +153,6 @@ vgafbattach(parent, self, aux) struct vgafb_softc *sc = (struct vgafb_softc *)self; struct pci_attach_args *pa = aux; struct wsemuldisplaydev_attach_args waa; - long defattr; sc->sc_mem_t = pa->pa_memt; sc->sc_io_t = pa->pa_iot; @@ -192,8 +186,6 @@ vgafbattach(parent, self, aux) vgafb_stdscreen.nrows = sc->sc_sunfb.sf_ro.ri_rows; vgafb_stdscreen.ncols = sc->sc_sunfb.sf_ro.ri_cols; vgafb_stdscreen.textops = &sc->sc_sunfb.sf_ro.ri_ops; - sc->sc_sunfb.sf_ro.ri_ops.alloc_attr(&sc->sc_sunfb.sf_ro, - WSCOL_BLACK, WSCOL_WHITE, WSATTR_WSCOLORS, &defattr); if (sc->sc_console) { sc->sc_ofhandle = OF_stdout(); |