From 1755c7e2f866e390a80a7fa05ebbef43c8c7a0e5 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Sat, 28 Aug 2021 14:57:57 +0200 Subject: [PATCH] Comment update --- src/raspberrypi/devices/device_factory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/raspberrypi/devices/device_factory.cpp b/src/raspberrypi/devices/device_factory.cpp index e8478125..e9180e80 100644 --- a/src/raspberrypi/devices/device_factory.cpp +++ b/src/raspberrypi/devices/device_factory.cpp @@ -91,7 +91,7 @@ Device *DeviceFactory::CreateDevice(PbDeviceType& type, const string& filename, case SCRM: device = new SCSIHD(true); - device->SetProtectable(true); + device->SetRemovable(true); device->SetLockable(true); device->SetProtectable(true); ((Disk *)device)->SetSectorSizes(sector_sizes_scsi); @@ -120,6 +120,7 @@ Device *DeviceFactory::CreateDevice(PbDeviceType& type, const string& filename, case SCDP: device = new SCSIDaynaPort(); + // Since this is an emulation for a specific device the full INQUIRY data have to be set accordingly device->SetVendor("Dayna"); device->SetProduct("SCSI/Link"); device->SetRevision("1.4a");