From 86766c69cedcba05f49b1e1e6b7f4b8c9de3fb20 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 13 Mar 2010 21:55:31 +0000 Subject: Octane PROM picks highest graphics widget as console, not lowest; "go ahead" kettenis@ --- sys/arch/sgi/sgi/ip30_machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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; -- cgit v1.2.3