From d29903e16cc6d45e3bc15e8c41866356d7230665 Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 21 Apr 2019 01:06:19 -0400 Subject: [PATCH] tekram_dc820.cpp: Identify some interrupts (nw) i82355: Device name correction (nw) --- src/devices/bus/isa/tekram_dc820.cpp | 13 +++++++++---- src/devices/machine/i82355.cpp | 2 +- src/devices/machine/i82355.h | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/devices/bus/isa/tekram_dc820.cpp b/src/devices/bus/isa/tekram_dc820.cpp index 37711aef72b..4ffe4f3f335 100644 --- a/src/devices/bus/isa/tekram_dc820.cpp +++ b/src/devices/bus/isa/tekram_dc820.cpp @@ -94,6 +94,7 @@ static void tekram_scsi_devices(device_slot_interface &device) void tekram_eisa_scsi_device::scsic_config(device_t *device) { device->set_clock(40_MHz_XTAL); + device->irq_handler_cb().set(m_mpu, FUNC(i80186_cpu_device::int3_w)); } void tekram_eisa_scsi_device::scsi_add(machine_config &config) @@ -117,7 +118,8 @@ void tekram_dc320b_device::device_add_mconfig(machine_config &config) //EEPROM_93C46_16BIT(config, m_eeprom); - I82355(config, "bmic", 0); + i82355_device &bmic(I82355(config, "bmic", 0)); + bmic.lint_callback().set(m_mpu, FUNC(i80186_cpu_device::int2_w)); scsi_add(config); @@ -131,7 +133,8 @@ void tekram_dc320e_device::device_add_mconfig(machine_config &config) //EEPROM_93C46_16BIT(config, m_eeprom); - I82355(config, "bmic", 0); + i82355_device &bmic(I82355(config, "bmic", 0)); + bmic.lint_callback().set(m_mpu, FUNC(i80186_cpu_device::int2_w)); scsi_add(config); @@ -145,7 +148,8 @@ void tekram_dc820_device::device_add_mconfig(machine_config &config) //EEPROM_93C46_16BIT(config, m_eeprom); - I82355(config, "bmic", 0); + i82355_device &bmic(I82355(config, "bmic", 0)); + bmic.lint_callback().set(m_mpu, FUNC(i80186_cpu_device::int2_w)); scsi_add(config); @@ -159,7 +163,8 @@ void tekram_dc820b_device::device_add_mconfig(machine_config &config) //EEPROM_93C46_16BIT(config, m_eeprom); - I82355(config, "bmic", 0); + i82355_device &bmic(I82355(config, "bmic", 0)); + bmic.lint_callback().set(m_mpu, FUNC(i80186_cpu_device::int2_w)); scsi_add(config); diff --git a/src/devices/machine/i82355.cpp b/src/devices/machine/i82355.cpp index c2436c994f1..d37d44d2ebe 100644 --- a/src/devices/machine/i82355.cpp +++ b/src/devices/machine/i82355.cpp @@ -2,7 +2,7 @@ // copyright-holders:AJR /********************************************************************** - Intel 82355 Bus Master Interface Chip (BMIC) + Intel 82355 Bus Master Interface Controller (BMIC) Currently very little of this device is emulated besides storing data that the local processor writes to it. Its interface will diff --git a/src/devices/machine/i82355.h b/src/devices/machine/i82355.h index 4b0280edae8..1e9423bb585 100644 --- a/src/devices/machine/i82355.h +++ b/src/devices/machine/i82355.h @@ -2,7 +2,7 @@ // copyright-holders:AJR /********************************************************************** - Intel 82355 Bus Master Interface Chip (BMIC) + Intel 82355 Bus Master Interface Controller (BMIC) **********************************************************************/