1
0
mirror of https://github.com/akuker/RASCSI.git synced 2025-01-10 01:30:45 +00:00

Permit LUNs > 0 for SCDP and SCBR ()

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

@ -188,7 +188,7 @@ Device *DeviceFactory::CreateDevice(PbDeviceType type, const string& filename)
case SCBR: case SCBR:
device = new SCSIBR(); device = new SCSIBR();
device->SetSupportedLuns(1); device->SetSupportedLuns(32);
device->SetProduct("SCSI HOST BRIDGE"); device->SetProduct("SCSI HOST BRIDGE");
device->SupportsParams(true); device->SupportsParams(true);
device->SetDefaultParams(default_params[SCBR]); device->SetDefaultParams(default_params[SCBR]);
@ -196,7 +196,7 @@ Device *DeviceFactory::CreateDevice(PbDeviceType type, const string& filename)
case SCDP: case SCDP:
device = new SCSIDaynaPort(); 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 // Since this is an emulation for a specific device the full INQUIRY data have to be set accordingly
device->SetVendor("Dayna"); device->SetVendor("Dayna");
device->SetProduct("SCSI/Link"); device->SetProduct("SCSI/Link");