mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-11-15 17:08:19 +00:00
Wire SCSI_MESH interrupt.
This commit is contained in:
parent
5902cd5c28
commit
8ddbc9c427
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user