From 8c20600d1248129ba781cdede16d7cf8c01cee2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 19 Oct 2005 22:43:50 +0000 Subject: [PATCH] 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 --- src/system/boot/platform/bios_ia32/devices.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/system/boot/platform/bios_ia32/devices.cpp b/src/system/boot/platform/bios_ia32/devices.cpp index 80ae7ce774..0e7a7957b0 100644 --- a/src/system/boot/platform/bios_ia32/devices.cpp +++ b/src/system/boot/platform/bios_ia32/devices.cpp @@ -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;