diff options
author | 2018-08-15 18:37:51 +0200 | |
---|---|---|
committer | 2018-08-15 18:38:07 +0200 | |
commit | 1db10c9857414d0d8528b86400de08ee67df21f8 (patch) | |
tree | 6b9351909184f454f841aad4e870836c799959c6 /src/devices/bus/isa/xtide.cpp | |
parent | d0d5aac29b938970a4e85640e2514af8b028e356 (diff) |
-amigafdc, at29x, at45dbxx, at_keybc, ataintf, atmel_arm_aic, pci-ide: MCFG removal, nw
Diffstat (limited to 'src/devices/bus/isa/xtide.cpp')
-rw-r--r-- | src/devices/bus/isa/xtide.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/devices/bus/isa/xtide.cpp b/src/devices/bus/isa/xtide.cpp index d9be27f3d0d..756ebd188f9 100644 --- a/src/devices/bus/isa/xtide.cpp +++ b/src/devices/bus/isa/xtide.cpp @@ -262,12 +262,13 @@ DEFINE_DEVICE_TYPE(ISA8_XTIDE, xtide_device, "xtide", "XT-IDE Fixed Drive Adapte // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_START(xtide_device::device_add_mconfig) - MCFG_ATA_INTERFACE_ADD("ata", ata_devices, "hdd", nullptr, false) - MCFG_ATA_INTERFACE_IRQ_HANDLER(WRITELINE(*this, xtide_device, ide_interrupt)) +void xtide_device::device_add_mconfig(machine_config &config) +{ + ATA_INTERFACE(config, m_ata).options(ata_devices, "hdd", nullptr, false); + m_ata->irq_handler().set(FUNC(xtide_device::ide_interrupt)); - MCFG_EEPROM_2864_ADD("eeprom") -MACHINE_CONFIG_END + EEPROM_PARALLEL_2864(config, m_eeprom); +} //------------------------------------------------- // input_ports - device-specific input ports |