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:
bz 2007-11-12 23:53:43 +00:00
parent 5c6a60df9f
commit b101115f77

View File

@ -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);