summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/68340ser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/68340ser.h')
-rw-r--r--src/devices/machine/68340ser.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/devices/machine/68340ser.h b/src/devices/machine/68340ser.h
index b9775f2ad86..e658d719c05 100644
--- a/src/devices/machine/68340ser.h
+++ b/src/devices/machine/68340ser.h
@@ -7,6 +7,11 @@
#include "machine/mc68681.h"
+// MCFG macros to hide the implementation
+#define MCFG_MC68340SER_IRQ_CALLBACK(_cb) MCFG_MC68681_IRQ_CALLBACK(_cb)
+#define MCFG_MC68340SER_A_TX_CALLBACK(_cb) MCFG_MC68681_A_TX_CALLBACK(_cb)
+#define MCFG_MC68340SER_B_TX_CALLBACK(_cb) MCFG_MC68681_B_TX_CALLBACK(_cb)
+
class m68340_cpu_device;
class mc68340_serial_module_device : public mc68340_duart_device
@@ -27,8 +32,6 @@ public:
uint8_t irq_vector() const { return m_ivr; }
uint8_t arbitrate(uint8_t level) const { return (irq_level() == level) ? (m_mcrl & REG_MCRL_ARBLV) : 0; }
- void module_reset();
-
protected:
m68340_cpu_device *m_cpu;