summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ataintf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ataintf.cpp')
-rw-r--r--src/devices/machine/ataintf.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/machine/ataintf.cpp b/src/devices/machine/ataintf.cpp
index a6d075217ec..972dadd94d3 100644
--- a/src/devices/machine/ataintf.cpp
+++ b/src/devices/machine/ataintf.cpp
@@ -204,10 +204,11 @@ WRITE_LINE_MEMBER( abstract_ata_interface_device::write_dmack )
elem->dev()->write_dmack(state);
}
-SLOT_INTERFACE_START(ata_devices)
- SLOT_INTERFACE("hdd", IDE_HARDDISK)
- SLOT_INTERFACE("cdrom", ATAPI_CDROM)
-SLOT_INTERFACE_END
+void ata_devices(device_slot_interface &device)
+{
+ device.option_add("hdd", IDE_HARDDISK);
+ device.option_add("cdrom", ATAPI_CDROM);
+}
abstract_ata_interface_device::abstract_ata_interface_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, type, tag, owner, clock),