svn commit: r189445 - head/sys/pc98/cbus
Takahashi Yoshihiro
nyan at FreeBSD.org
Fri Mar 6 03:10:31 PST 2009
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;
}
More information about the svn-src-all
mailing list