From cb2553a9eb5964d2a922eefb8f2e362497bd8775 Mon Sep 17 00:00:00 2001 From: Uwe Seimet <48174652+uweseimet@users.noreply.github.com> Date: Fri, 4 Feb 2022 02:37:31 +0100 Subject: [PATCH] Permit LUNs > 0 for SCDP and SCBR (#641) --- src/raspberrypi/devices/device_factory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/raspberrypi/devices/device_factory.cpp b/src/raspberrypi/devices/device_factory.cpp index a1b420a1..0f9a75a9 100644 --- a/src/raspberrypi/devices/device_factory.cpp +++ b/src/raspberrypi/devices/device_factory.cpp @@ -188,7 +188,7 @@ Device *DeviceFactory::CreateDevice(PbDeviceType type, const string& filename) case SCBR: device = new SCSIBR(); - device->SetSupportedLuns(1); + device->SetSupportedLuns(32); device->SetProduct("SCSI HOST BRIDGE"); device->SupportsParams(true); device->SetDefaultParams(default_params[SCBR]); @@ -196,7 +196,7 @@ Device *DeviceFactory::CreateDevice(PbDeviceType type, const string& filename) case SCDP: device = new SCSIDaynaPort(); - device->SetSupportedLuns(1); + device->SetSupportedLuns(32); // 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");