Permit LUNs > 0 for SCDP and SCBR (#641)

This commit is contained in:
Uwe Seimet 2022-02-04 02:37:31 +01:00 committed by GitHub
parent ed46262cca
commit cb2553a9eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");