From bcd443779a6e3ba2047ff89750e467ce5b4e96ba Mon Sep 17 00:00:00 2001 From: Maxim Poliakovski Date: Wed, 25 Jan 2023 20:56:51 +0100 Subject: [PATCH] machinegossamer: add internal SCSI bus. --- machines/machinegossamer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/machines/machinegossamer.cpp b/machines/machinegossamer.cpp index 1e8e0db..a19af61 100644 --- a/machines/machinegossamer.cpp +++ b/machines/machinegossamer.cpp @@ -28,12 +28,10 @@ along with this program. If not, see . #include #include #include -#include +#include #include #include #include -#include -#include #include #include #include @@ -126,6 +124,8 @@ int initialize_gossamer(std::string& id) grackle_obj->pci_register_device( 18, dynamic_cast(gMachineObj->get_comp_by_name(id == "pmg3twr" ? "AtiRagePro" : "AtiRageGT"))); + gMachineObj->add_device("SCSI0", std::unique_ptr(new ScsiBus())); + // add Athens clock generator device and register it with the I2C host gMachineObj->add_device("Athens", std::unique_ptr(new AthensClocks(0x28))); I2CBus* i2c_bus = dynamic_cast(gMachineObj->get_comp_by_type(HWCompType::I2C_HOST));