Wire SCSI_MESH interrupt.

This commit is contained in:
Maxim Poliakovski 2024-02-12 00:47:53 +01:00
parent 5902cd5c28
commit 8ddbc9c427
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ int MeshController::device_postinit()
this->int_ctrl = dynamic_cast<InterruptCtrl*>(
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;
}

View File

@ -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;