mirror of
https://github.com/opnsense/src.git
synced 2026-07-14 19:51:17 -04:00
Though we are currently not interested in the EDD3 flag,
Enhanced Disk Drive Specification Ver 3.0 defines that the version of extension in AH would be 30h. Correct the check for that to be >=30h instead of >3h. MFC after: 2 months
This commit is contained in:
parent
190320e237
commit
fc89eb3a4c
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ bd_int13probe(struct bdinfo *bd)
|
|||
((v86.ebx & 0xffff) == 0xaa55) && /* signature */
|
||||
(v86.ecx & 0x1)) { /* packets mode ok */
|
||||
bd->bd_flags |= BD_MODEEDD1;
|
||||
if((v86.eax & 0xff00) > 0x300)
|
||||
if((v86.eax & 0xff00) >= 0x3000)
|
||||
bd->bd_flags |= BD_MODEEDD3;
|
||||
}
|
||||
return(1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue