From 8ddbc9c427118b3115d42f2a34abc9c65a19d6b2 Mon Sep 17 00:00:00 2001 From: Maxim Poliakovski Date: Mon, 12 Feb 2024 00:47:53 +0100 Subject: [PATCH] Wire SCSI_MESH interrupt. --- devices/common/scsi/mesh.cpp | 2 +- devices/ioctrl/heathrow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devices/common/scsi/mesh.cpp b/devices/common/scsi/mesh.cpp index 94b6f0c..589d1f0 100644 --- a/devices/common/scsi/mesh.cpp +++ b/devices/common/scsi/mesh.cpp @@ -39,7 +39,7 @@ int MeshController::device_postinit() this->int_ctrl = dynamic_cast( gMachineObj->get_comp_by_type(HWCompType::INT_CTRL)); - this->irq_id = this->int_ctrl->register_dev_int(IntSrc::SCSI1); + this->irq_id = this->int_ctrl->register_dev_int(IntSrc::SCSI_MESH); return 0; } diff --git a/devices/ioctrl/heathrow.cpp b/devices/ioctrl/heathrow.cpp index 329db24..463dd81 100644 --- a/devices/ioctrl/heathrow.cpp +++ b/devices/ioctrl/heathrow.cpp @@ -364,7 +364,7 @@ void HeathrowIC::feature_control(const uint32_t value) uint32_t HeathrowIC::register_dev_int(IntSrc src_id) { switch (src_id) { - case IntSrc::SCSI1: + case IntSrc::SCSI_MESH: return 1 << 1; case IntSrc::IDE0: return 1 << 2;