Skip to content

Commit 1166fda

Browse files
joevtdingusdev
authored andcommitted
heathrow: Connect mesh.
1 parent 8b1d673 commit 1166fda

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

devices/ioctrl/heathrow.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ HeathrowIC::HeathrowIC() : PCIDevice("mac-io_heathrow"), InterruptCtrl()
8080
// connect SCSI HW and the corresponding DMA channel
8181
this->mesh = dynamic_cast<MeshController*>(gMachineObj->get_comp_by_name("MeshHeathrow"));
8282
this->mesh_dma = std::unique_ptr<DMAChannel> (new DMAChannel("mesh"));
83+
this->mesh_dma->register_dma_int(this, this->register_dma_int(IntSrc::DMA_SCSI_MESH));
84+
this->mesh_dma->connect(this->mesh);
85+
this->mesh->connect(this->mesh_dma.get());
8386

8487
// connect IDE HW
8588
this->ide_0 = dynamic_cast<IdeChannel*>(gMachineObj->get_comp_by_name("Ide0"));

0 commit comments

Comments
 (0)