Having probed the keyboard, turn off the -P flag.

This commit is contained in:
Robert Nordier 1998-10-17 10:35:15 +00:00
parent 7de064209a
commit 918ddbed16
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40476
2 changed files with 4 additions and 2 deletions

View File

@ -14,7 +14,7 @@
*/
/*
* $Id: boot2.c,v 1.9 1998/10/17 09:16:01 rnordier Exp $
* $Id: boot2.c,v 1.10 1998/10/17 09:50:09 rnordier Exp $
*/
#include <sys/param.h>
@ -328,6 +328,7 @@ parse(char *arg)
printf("Keyboard: %s\n", i ? "yes" : "no");
if (!i)
opts |= 1 << RBX_DUAL | 1 << RBX_SERIAL;
opts &= ~(1 << RBX_PROBEKBD);
}
ioctrl = opts & 1 << RBX_DUAL ? 0x3 :
opts & 1 << RBX_SERIAL ? 0x2 : 0x1;

View File

@ -14,7 +14,7 @@
*/
/*
* $Id: boot2.c,v 1.9 1998/10/17 09:16:01 rnordier Exp $
* $Id: boot2.c,v 1.10 1998/10/17 09:50:09 rnordier Exp $
*/
#include <sys/param.h>
@ -328,6 +328,7 @@ parse(char *arg)
printf("Keyboard: %s\n", i ? "yes" : "no");
if (!i)
opts |= 1 << RBX_DUAL | 1 << RBX_SERIAL;
opts &= ~(1 << RBX_PROBEKBD);
}
ioctrl = opts & 1 << RBX_DUAL ? 0x3 :
opts & 1 << RBX_SERIAL ? 0x2 : 0x1;