diff options
author | nyan <nyan@FreeBSD.org> | 2009-03-06 11:10:31 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2009-03-06 11:10:31 +0000 |
commit | e718e442ec55700a3f32ddeacde6e8247da7c824 (patch) | |
tree | 246a1af559fb9e4116ee13dbf27980ae86bd3b09 /sys/pc98 | |
parent | 41426e5a37e0b82c42376621f11df8f9360a937f (diff) | |
download | FreeBSD-src-e718e442ec55700a3f32ddeacde6e8247da7c824.zip FreeBSD-src-e718e442ec55700a3f32ddeacde6e8247da7c824.tar.gz |
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.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/cbus/syscons_cbus.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/pc98/cbus/syscons_cbus.c b/sys/pc98/cbus/syscons_cbus.c index 719b3cb..16c1353 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; } |