Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Mar 2009 11:10:31 +0000 (UTC)
From:      Takahashi Yoshihiro <nyan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189445 - head/sys/pc98/cbus
Message-ID:  <200903061110.n26BAVTW017537@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nyan
Date: Fri Mar  6 11:10:31 2009
New Revision: 189445
URL: http://svn.freebsd.org/changeset/base/189445

Log:
  MFi386: part of 189421
  
    - If there are no syscons hints at all, assume there is a single sc0 device
      anyway.  The console probe will still fail unless a VGA adapter is found.

Modified:
  head/sys/pc98/cbus/syscons_cbus.c

Modified: head/sys/pc98/cbus/syscons_cbus.c
==============================================================================
--- head/sys/pc98/cbus/syscons_cbus.c	Fri Mar  6 11:03:52 2009	(r189444)
+++ head/sys/pc98/cbus/syscons_cbus.c	Fri Mar  6 11:10:31 2009	(r189445)
@@ -203,8 +203,10 @@ sc_get_cons_priority(int *unit, int *fla
 			*flags = f;
 		}
 	}
-	if (*unit < 0)
-		return CN_DEAD;
+	if (*unit < 0) {
+		*unit = 0;
+		*flags = 0;
+	}
 	return CN_INTERNAL;
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903061110.n26BAVTW017537>