diff options
author | 2017-06-09 12:48:45 +0200 | |
---|---|---|
committer | 2017-06-09 12:48:45 +0200 | |
commit | e844b01154f1d57c9736b37c085ea0b9bbb15acb (patch) | |
tree | 272d3ad1d7c9562f8c01809ab3daaafc9442435a /src/devices/bus/isa/xtide.cpp | |
parent | 0b546073e758e33abb12e738ab12aaf1377f2a3e (diff) |
device_add_mconfig up to devices/bus/l* (nw)
Diffstat (limited to 'src/devices/bus/isa/xtide.cpp')
-rw-r--r-- | src/devices/bus/isa/xtide.cpp | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/devices/bus/isa/xtide.cpp b/src/devices/bus/isa/xtide.cpp index 53047da9795..295fb34333c 100644 --- a/src/devices/bus/isa/xtide.cpp +++ b/src/devices/bus/isa/xtide.cpp @@ -122,12 +122,6 @@ WRITE_LINE_MEMBER(xtide_device::ide_interrupt) } } -static MACHINE_CONFIG_START( xtide_config ) - MCFG_ATA_INTERFACE_ADD("ata", ata_devices, "hdd", nullptr, false) - MCFG_ATA_INTERFACE_IRQ_HANDLER(WRITELINE(xtide_device, ide_interrupt)) - - MCFG_EEPROM_2864_ADD("eeprom") -MACHINE_CONFIG_END static INPUT_PORTS_START( xtide_port ) PORT_START("BIOS_BASE") @@ -265,14 +259,15 @@ ROM_END DEFINE_DEVICE_TYPE(ISA8_XTIDE, xtide_device, "xtide", "XT-IDE Fixed Drive Adapter") //------------------------------------------------- -// machine_config_additions - device-specific -// machine configurations +// device_add_mconfig - add device configuration //------------------------------------------------- -machine_config_constructor xtide_device::device_mconfig_additions() const -{ - return MACHINE_CONFIG_NAME( xtide_config ); -} +MACHINE_CONFIG_MEMBER( xtide_device::device_add_mconfig ) + MCFG_ATA_INTERFACE_ADD("ata", ata_devices, "hdd", nullptr, false) + MCFG_ATA_INTERFACE_IRQ_HANDLER(WRITELINE(xtide_device, ide_interrupt)) + + MCFG_EEPROM_2864_ADD("eeprom") +MACHINE_CONFIG_END //------------------------------------------------- // input_ports - device-specific input ports |