summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/lpci
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-09-08 00:29:21 +0200
committer mooglyguy <therealmogminer@gmail.com>2018-09-08 07:03:38 +0200
commit7f48a8fd0a4ed40cef3ecb6a94451dc41ed32d42 (patch)
tree19696b441c4d866d9f9feb865170e8dda30d5169 /src/devices/bus/lpci
parent01557d4a191a8c0824bbe7fa45ae95a554b5b5cf (diff)
-mc146818: De-MCFG, nw
Diffstat (limited to 'src/devices/bus/lpci')
-rw-r--r--src/devices/bus/lpci/southbridge.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/lpci/southbridge.cpp b/src/devices/bus/lpci/southbridge.cpp
index d566cc22515..9e281e83437 100644
--- a/src/devices/bus/lpci/southbridge.cpp
+++ b/src/devices/bus/lpci/southbridge.cpp
@@ -521,9 +521,9 @@ MACHINE_CONFIG_START(southbridge_extended_device::device_add_mconfig)
MCFG_PC_KBDC_OUT_DATA_CB(WRITELINE("keybc", at_keyboard_controller_device, keyboard_data_w))
MCFG_PC_KBDC_SLOT_ADD("pc_kbdc", "kbd", pc_at_keyboards, STR_KBD_MICROSOFT_NATURAL)
- MCFG_DS12885_ADD("rtc")
- MCFG_MC146818_IRQ_HANDLER(WRITELINE("pic8259_slave", pic8259_device, ir0_w))
- MCFG_MC146818_CENTURY_INDEX(0x32)
+ ds12885_device &rtc(DS12885(config, "rtc"));
+ rtc.irq().set("pic8259_slave", FUNC(pic8259_device::ir0_w));
+ rtc.set_century_index(0x32);
// on board devices
MCFG_DEVICE_ADD("board1", ISA16_SLOT, 0, "isabus", pc_isa_onboard, "fdcsmc", true) // FIXME: determine ISA bus clock