From 1938a8b45ff3826455ee475296309afdb3667f60 Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Thu, 22 Sep 2022 09:03:36 -0700 Subject: [PATCH] Rename the Host Bridge INQUIRY product to RASCSI BRIDGE, as expected by the RASETHER.SYS driver. --- src/raspberrypi/devices/device_factory.cpp | 2 +- src/raspberrypi/test/device_factory_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/raspberrypi/devices/device_factory.cpp b/src/raspberrypi/devices/device_factory.cpp index 6f180e7f..1bc5a996 100644 --- a/src/raspberrypi/devices/device_factory.cpp +++ b/src/raspberrypi/devices/device_factory.cpp @@ -202,7 +202,7 @@ PrimaryDevice *DeviceFactory::CreateDevice(PbDeviceType type, const string& file case SCBR: device = make_unique(); - device->SetProduct("SCSI HOST BRIDGE"); + device->SetProduct("RASCSI BRIDGE"); device->SupportsParams(true); device->SetDefaultParams(default_params[SCBR]); break; diff --git a/src/raspberrypi/test/device_factory_test.cpp b/src/raspberrypi/test/device_factory_test.cpp index e86cb292..f391d1e9 100644 --- a/src/raspberrypi/test/device_factory_test.cpp +++ b/src/raspberrypi/test/device_factory_test.cpp @@ -235,7 +235,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());