aboutsummaryrefslogtreecommitdiff
path: root/sys/pc98
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2009-03-06 11:10:31 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2009-03-06 11:10:31 +0000
commitc0a47fb48002b390f9f1ad608857b65987a307e3 (patch)
tree246a1af559fb9e4116ee13dbf27980ae86bd3b09 /sys/pc98
parent5171328bd62a9a478dea19e0066d440fb877cf21 (diff)
downloadsrc-c0a47fb48002b390f9f1ad608857b65987a307e3.tar.gz
src-c0a47fb48002b390f9f1ad608857b65987a307e3.zip
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.
Notes
Notes: svn path=/head/; revision=189445
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/syscons_cbus.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/pc98/cbus/syscons_cbus.c b/sys/pc98/cbus/syscons_cbus.c
index 719b3cb7943a..16c1353fe8b5 100644
--- a/sys/pc98/cbus/syscons_cbus.c
+++ b/sys/pc98/cbus/syscons_cbus.c
@@ -203,8 +203,10 @@ sc_get_cons_priority(int *unit, int *flags)
*flags = f;
}
}
- if (*unit < 0)
- return CN_DEAD;
+ if (*unit < 0) {
+ *unit = 0;
+ *flags = 0;
+ }
return CN_INTERNAL;
}