1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Correctly test CF.

This commit is contained in:
Matthew N. Dodd 2000-01-13 08:49:47 +00:00
parent 101c72e44b
commit 919886a01f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55889
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ bios_mcabus_present(void * dummy)
return;
}
if ((vmf.vmf_ah != 0) && (vmf.vmf_flags != 0)) {
if ((vmf.vmf_ah != 0) && (vmf.vmf_flags & 0x01)) {
if (bootverbose) {
printf("BIOS SDT: Not supported. Not PS/2?\n");
printf("BIOS SDT: AH 0x%02x, Flags 0x%04x\n",

View File

@ -86,7 +86,7 @@ bios_mcabus_present(void * dummy)
return;
}
if ((vmf.vmf_ah != 0) && (vmf.vmf_flags != 0)) {
if ((vmf.vmf_ah != 0) && (vmf.vmf_flags & 0x01)) {
if (bootverbose) {
printf("BIOS SDT: Not supported. Not PS/2?\n");
printf("BIOS SDT: AH 0x%02x, Flags 0x%04x\n",