summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/xtide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/xtide.cpp')
-rw-r--r--src/devices/bus/isa/xtide.cpp19
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