summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/scsi
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2017-05-22 14:31:40 +1000
committer Vas Crabb <vas@vastheman.com>2017-05-22 14:31:40 +1000
commita6ee791664e78112cd59fddd23252c4077c5271e (patch)
treef5c3ac81e60b735a721da21085fff7e0df7c58c8 /src/devices/bus/scsi
parente63871ed51214148c8e3b103d594f2b33e0ea197 (diff)
Goodbye MACHINE_CONFIG_FRAGMENT, it was nice knowing you.
(nw) This is a pretty minimal change. The point where the root device is added has been moved from the MACHINE_CONFIG_START macro to the constructor of the machine configuration class (made possible by giving drivers their own device types). This isn't the final change in this area. The root device is still being handled specially in that its configuration comes from the game driver structure. This needs to be harmonised with regular devices. But that's a job for another day.
Diffstat (limited to 'src/devices/bus/scsi')
-rw-r--r--src/devices/bus/scsi/omti5100.cpp2
-rw-r--r--src/devices/bus/scsi/s1410.cpp2
-rw-r--r--src/devices/bus/scsi/sa1403d.cpp2
-rw-r--r--src/devices/bus/scsi/scsi.cpp2
-rw-r--r--src/devices/bus/scsi/scsicd.cpp2
-rw-r--r--src/devices/bus/scsi/scsihd.cpp2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/scsi/omti5100.cpp b/src/devices/bus/scsi/omti5100.cpp
index 07f0bb7e881..1a0dcbf3388 100644
--- a/src/devices/bus/scsi/omti5100.cpp
+++ b/src/devices/bus/scsi/omti5100.cpp
@@ -176,7 +176,7 @@ void omti5100_device::WriteData( uint8_t *data, int dataLength )
}
}
-static MACHINE_CONFIG_FRAGMENT( omti5100 )
+static MACHINE_CONFIG_START( omti5100 )
MCFG_HARDDISK_ADD("image0")
MCFG_HARDDISK_ADD("image1")
MACHINE_CONFIG_END
diff --git a/src/devices/bus/scsi/s1410.cpp b/src/devices/bus/scsi/s1410.cpp
index a4a8a65c047..37a3abc5eff 100644
--- a/src/devices/bus/scsi/s1410.cpp
+++ b/src/devices/bus/scsi/s1410.cpp
@@ -163,7 +163,7 @@ ADDRESS_MAP_END
// MACHINE_DRIVER( s1410 )
//-------------------------------------------------
-static MACHINE_CONFIG_FRAGMENT( s1410 )
+static MACHINE_CONFIG_START( s1410 )
MCFG_CPU_ADD(Z8400A_TAG, Z80, XTAL_16MHz/4)
MCFG_CPU_PROGRAM_MAP(s1410_mem)
MCFG_CPU_IO_MAP(s1410_io)
diff --git a/src/devices/bus/scsi/sa1403d.cpp b/src/devices/bus/scsi/sa1403d.cpp
index f8f0d7041b7..3a94f841fa3 100644
--- a/src/devices/bus/scsi/sa1403d.cpp
+++ b/src/devices/bus/scsi/sa1403d.cpp
@@ -57,7 +57,7 @@ const tiny_rom_entry *sa1403d_device::device_rom_region() const
// MACHINE_DRIVER( sa1403d )
//-------------------------------------------------
-static MACHINE_CONFIG_FRAGMENT( sa1403d )
+static MACHINE_CONFIG_START( sa1403d )
MCFG_HARDDISK_ADD("image")
MACHINE_CONFIG_END
diff --git a/src/devices/bus/scsi/scsi.cpp b/src/devices/bus/scsi/scsi.cpp
index 5cbd6eaf060..bfe49c253c1 100644
--- a/src/devices/bus/scsi/scsi.cpp
+++ b/src/devices/bus/scsi/scsi.cpp
@@ -61,7 +61,7 @@ scsi_port_device::scsi_port_device(const machine_config &mconfig, const char *ta
{
}
-static MACHINE_CONFIG_FRAGMENT( scsi_port )
+static MACHINE_CONFIG_START( scsi_port )
MCFG_DEVICE_ADD( SCSI_PORT_DEVICE1, SCSI_PORT_SLOT, 0 )
MCFG_DEVICE_ADD( SCSI_PORT_DEVICE2, SCSI_PORT_SLOT, 0 )
MCFG_DEVICE_ADD( SCSI_PORT_DEVICE3, SCSI_PORT_SLOT, 0 )
diff --git a/src/devices/bus/scsi/scsicd.cpp b/src/devices/bus/scsi/scsicd.cpp
index 93bd9750e8e..8807bb4f3de 100644
--- a/src/devices/bus/scsi/scsicd.cpp
+++ b/src/devices/bus/scsi/scsicd.cpp
@@ -30,7 +30,7 @@ void scsicd_device::device_start()
scsihle_device::device_start();
}
-static MACHINE_CONFIG_FRAGMENT(scsi_cdrom)
+static MACHINE_CONFIG_START(scsi_cdrom)
MCFG_CDROM_ADD("image")
MCFG_CDROM_INTERFACE("cdrom")
MCFG_SOUND_ADD("cdda", CDDA, 0)
diff --git a/src/devices/bus/scsi/scsihd.cpp b/src/devices/bus/scsi/scsihd.cpp
index a0868659772..be211a07bcb 100644
--- a/src/devices/bus/scsi/scsihd.cpp
+++ b/src/devices/bus/scsi/scsihd.cpp
@@ -29,7 +29,7 @@ void scsihd_device::device_start()
scsihle_device::device_start();
}
-static MACHINE_CONFIG_FRAGMENT(scsi_harddisk)
+static MACHINE_CONFIG_START(scsi_harddisk)
MCFG_HARDDISK_ADD("image")
MCFG_HARDDISK_INTERFACE("scsi_hdd")
MACHINE_CONFIG_END