Merge pull request #851 from akuker/rdmark-rename-host-bridge

Rename the Host Bridge INQUIRY product to RASCSI BRIDGE
This commit is contained in:
Daniel Markstedt 2022-09-30 18:57:51 -07:00 committed by GitHub
commit 05e0a785fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ PrimaryDevice *DeviceFactory::CreateDevice(PbDeviceType type, const string& file
case SCBR:
device = make_unique<SCSIBR>();
device->SetProduct("SCSI HOST BRIDGE");
device->SetProduct("RASCSI BRIDGE");
device->SupportsParams(true);
device->SetDefaultParams(default_params[SCBR]);
break;

View File

@ -252,7 +252,7 @@ TEST(DeviceFactoryTest, SCBR_Device_Defaults)
EXPECT_FALSE(device->IsStopped());
EXPECT_EQ("RaSCSI", device->GetVendor());
EXPECT_EQ("SCSI HOST BRIDGE", device->GetProduct());
EXPECT_EQ("RASCSI BRIDGE", device->GetProduct());
EXPECT_EQ(string(rascsi_get_version_string()).substr(0, 2) + string(rascsi_get_version_string()).substr(3, 2),
device->GetRevision());