diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-12-02 04:29:12 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-12-02 04:29:12 +0000 |
commit | e0a3980f1fbd6e820442a84c4d538d841a751a3c (patch) | |
tree | c7d08ff3a8072d37feefa5cfa0420f22fc7e3aa6 /sys | |
parent | 8ac98157ca665cfc4f515f8eedbe11b744c985c1 (diff) |
bzero the waa and not ready yet for the console
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/sti.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/ic/sti.c b/sys/dev/ic/sti.c index 2029603fdab..b61698dd089 100644 --- a/sys/dev/ic/sti.c +++ b/sys/dev/ic/sti.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sti.c,v 1.7 2001/11/06 19:53:18 miod Exp $ */ +/* $OpenBSD: sti.c,v 1.8 2001/12/02 04:29:11 mickey Exp $ */ /* * Copyright (c) 2000-2001 Michael Shalayeff @@ -348,7 +348,10 @@ sti_attach_common(sc) sti_default_screen.fontheight = ff->height; /* attach WSDISPLAY */ - waa.console = sc->sc_dev.dv_unit; + bzero(&waa, sizeof(waa)); +#if notyet + waa.console = sc->sc_dev.dv_unit == 0; +#endif waa.scrdata = &sti_default_screenlist; waa.accessops = &sti_accessops; waa.accesscookie = sc; |