summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ieee488/softbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ieee488/softbox.cpp')
-rw-r--r--src/devices/bus/ieee488/softbox.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/ieee488/softbox.cpp b/src/devices/bus/ieee488/softbox.cpp
index 03af51971de..6529282f2b3 100644
--- a/src/devices/bus/ieee488/softbox.cpp
+++ b/src/devices/bus/ieee488/softbox.cpp
@@ -239,10 +239,10 @@ MACHINE_CONFIG_START(softbox_device::device_add_mconfig)
MCFG_DEVICE_IO_MAP(softbox_io)
// devices
- MCFG_DEVICE_ADD(I8251_TAG, I8251, 0)
- MCFG_I8251_TXD_HANDLER(WRITELINE(RS232_TAG, rs232_port_device, write_txd))
- MCFG_I8251_DTR_HANDLER(WRITELINE(RS232_TAG, rs232_port_device, write_dtr))
- MCFG_I8251_RTS_HANDLER(WRITELINE(RS232_TAG, rs232_port_device, write_rts))
+ i8251_device &i8251(I8251(config, I8251_TAG, 0));
+ i8251.txd_handler().set(RS232_TAG, FUNC(rs232_port_device::write_txd));
+ i8251.dtr_handler().set(RS232_TAG, FUNC(rs232_port_device::write_dtr));
+ i8251.rts_handler().set(RS232_TAG, FUNC(rs232_port_device::write_rts));
MCFG_DEVICE_ADD(RS232_TAG, RS232_PORT, default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(WRITELINE(I8251_TAG, i8251_device, write_rxd))