summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/68153bim.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/68153bim.cpp')
-rw-r--r--src/devices/machine/68153bim.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/devices/machine/68153bim.cpp b/src/devices/machine/68153bim.cpp
index 8df821a813e..30be9ea5e81 100644
--- a/src/devices/machine/68153bim.cpp
+++ b/src/devices/machine/68153bim.cpp
@@ -67,13 +67,12 @@ DEFINE_DEVICE_TYPE(EI68C153, ei68c153_device, "ei68c153", "EPIC
// device_add_mconfig - add device configuration
//-------------------------------------------------
-void bim68153_device::device_add_mconfig(machine_config &config)
-{
- MC68153_CHANNEL(config, m_chn[0], 0);
- MC68153_CHANNEL(config, m_chn[1], 0);
- MC68153_CHANNEL(config, m_chn[2], 0);
- MC68153_CHANNEL(config, m_chn[3], 0);
-}
+MACHINE_CONFIG_START(bim68153_device::device_add_mconfig)
+ MCFG_DEVICE_ADD(CHN0_TAG, MC68153_CHANNEL, 0)
+ MCFG_DEVICE_ADD(CHN1_TAG, MC68153_CHANNEL, 0)
+ MCFG_DEVICE_ADD(CHN2_TAG, MC68153_CHANNEL, 0)
+ MCFG_DEVICE_ADD(CHN3_TAG, MC68153_CHANNEL, 0)
+MACHINE_CONFIG_END
//**************************************************************************
// LIVE DEVICE