Looks like some BIOS don't bother filling in cylinder/head/sectors_per_track information

for extended drive parameters.
This should fix eventual "no boot disk" messages of the boot loader.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14435 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-10-19 22:43:50 +00:00
parent cb6d675cf4
commit 8c20600d12

View File

@ -205,8 +205,6 @@ get_ext_drive_parameters(uint8 drive, drive_parameters *targetParameters)
// filter out faulty BIOS return codes
if ((regs.flags & CARRY_FLAG) != 0
|| parameter->heads == 0
|| parameter->sectors_per_track == 0
|| parameter->sectors == 0)
return B_ERROR;