mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 18:56:49 +01:00
Don't try to use disk extensions for non-disk devices (like actual floppies or
emulated ones on CD-boot). One of my laptops returns bogus drive parameters and another one silently fails the read, previously preventing CD-boot on both. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30389 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4219390212
commit
5c8e597e90
@ -528,7 +528,8 @@ BIOSDrive::BIOSDrive(uint8 driveID)
|
||||
{
|
||||
TRACE(("drive ID %u\n", driveID));
|
||||
|
||||
if (get_ext_drive_parameters(driveID, &fParameters) != B_OK) {
|
||||
if (driveID < 0x80
|
||||
|| get_ext_drive_parameters(driveID, &fParameters) != B_OK) {
|
||||
// old style CHS support
|
||||
|
||||
if (get_drive_parameters(driveID, &fParameters) != B_OK) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user