diff options
author | 2003-05-17 03:54:34 +0000 | |
---|---|---|
committer | 2003-05-17 03:54:34 +0000 | |
commit | b8dd289320902de0ff546488e88d0de3e7a513c6 (patch) | |
tree | 84207111be968b7ab024ecf4c2394fa59644bffc | |
parent | nuke intrhand, it isn't used and it overloads ih_next incorrectly... grr (diff) | |
download | wireguard-openbsd-b8dd289320902de0ff546488e88d0de3e7a513c6.tar.xz wireguard-openbsd-b8dd289320902de0ff546488e88d0de3e7a513c6.zip |
No need to check for the 640x480 resolution case, since the minimal resolution
on the SPARCbook 3 series is 800x600 and is already small enough...
-rw-r--r-- | sys/arch/sparc/dev/p9100.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/sys/arch/sparc/dev/p9100.c b/sys/arch/sparc/dev/p9100.c index 1e0036f98df..7938bb2bb26 100644 --- a/sys/arch/sparc/dev/p9100.c +++ b/sys/arch/sparc/dev/p9100.c @@ -1,4 +1,4 @@ -/* $OpenBSD: p9100.c,v 1.13 2003/05/16 18:40:32 miod Exp $ */ +/* $OpenBSD: p9100.c,v 1.14 2003/05/17 03:54:34 miod Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) @@ -216,7 +216,7 @@ struct p9100_ctl { /* * Select the appropriate register group within the control registers * (must be done before any write to a register within the group, but - * subsquent writes to the same group do not need to reselect). + * subsequent writes to the same group do not need to reselect). */ #define P9100_SELECT_SCR(sc) ((sc)->sc_junk = (sc)->sc_ctl->ctl_scr.scr) #define P9100_SELECT_VCR(sc) ((sc)->sc_junk = (sc)->sc_ctl->ctl_vcr.hcr) @@ -340,17 +340,10 @@ p9100attach(parent, self, args) p9100_burner(sc, 1, 0); if (isconsole) { - switch (sc->sc_sunfb.sf_width) { - case 640: - row = p9100_stdscreen.nrows - 1; - break; - case 800: + if (sc->sc_sunfb.sf_width == 800) row = 0; /* screen has been cleared above */ - break; - default: + else row = -1; - break; - } fbwscons_console_init(&sc->sc_sunfb, &p9100_stdscreen, row, p9100_burner); |