summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-03-13 21:55:31 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-03-13 21:55:31 +0000
commit86766c69cedcba05f49b1e1e6b7f4b8c9de3fb20 (patch)
tree48a4346f70223379793b31184d431730ace35d07
parenta197aefdf802060ce55b88ece1833ce6cefcd9f2 (diff)
Octane PROM picks highest graphics widget as console, not lowest;
"go ahead" kettenis@
-rw-r--r--sys/arch/sgi/sgi/ip30_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/sgi/ip30_machdep.c b/sys/arch/sgi/sgi/ip30_machdep.c
index 29c19aab1f9..7aa438eb7a7 100644
--- a/sys/arch/sgi/sgi/ip30_machdep.c
+++ b/sys/arch/sgi/sgi/ip30_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip30_machdep.c,v 1.37 2010/03/07 13:44:26 miod Exp $ */
+/* $OpenBSD: ip30_machdep.c,v 1.38 2010/03/13 21:55:30 miod Exp $ */
/*
* Copyright (c) 2008, 2009 Miodrag Vallat.
@@ -365,7 +365,7 @@ ip30_find_video()
return 0;
}
- for (widid = WIDGET_MIN; widid <= WIDGET_MAX; widid++) {
+ for (widid = WIDGET_MAX; widid >= WIDGET_MIN; widid--) {
if (ip30_widget_id(0, widid, &id) != 0)
continue;