mirror of
https://github.com/fhgwright/SCSI2SD.git
synced 2024-12-26 22:30:54 +00:00
Fix for VMS 5.5-2: Only send mode page 5 if configured as floppy.
Author: Landon Rodgers
This commit is contained in:
parent
54ac6377ce
commit
3a4712b524
@ -1,5 +1,6 @@
|
||||
// Copyright (C) 2013 Michael McMaster <michael@codesrc.com>
|
||||
// Copyright (C) 2014 Doug Brown <doug@downtowndougbrown.com>
|
||||
// Copyright (C) 2019 Landon Rodgers <g.landon.rodgers@gmail.com>
|
||||
//
|
||||
// This file is part of SCSI2SD.
|
||||
//
|
||||
@ -485,7 +486,8 @@ static void doModeSense(
|
||||
}
|
||||
}
|
||||
|
||||
if (pageCode == 0x05 || pageCode == 0x3F)
|
||||
if ((pageCode == 0x05 || pageCode == 0x3F) &&
|
||||
(scsiDev.target->cfg->deviceType == CONFIG_FLOPPY_14MB))
|
||||
{
|
||||
pageFound = 1;
|
||||
pageIn(pc, idx, FlexibleDiskDriveGeometry, sizeof(FlexibleDiskDriveGeometry));
|
||||
|
Loading…
Reference in New Issue
Block a user