summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/i82586.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/i82586.h')
-rw-r--r--src/devices/machine/i82586.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/devices/machine/i82586.h b/src/devices/machine/i82586.h
index 93f45d82574..e45e46fe4f4 100644
--- a/src/devices/machine/i82586.h
+++ b/src/devices/machine/i82586.h
@@ -6,9 +6,6 @@
#pragma once
-#define MCFG_I82586_IRQ_CB(_out_irq) \
- downcast<i82586_base_device &>(*device).set_out_irq_callback(DEVCB_##_out_irq);
-
class i82586_base_device :
public device_t,
public device_memory_interface,
@@ -157,7 +154,8 @@ public:
static const u32 FCS_RESIDUE = 0xdebb20e3; // the residue after computing the fcs over a complete frame (including fcs)
- template <class Object> devcb_base &set_out_irq_callback(Object &&cb) { return m_out_irq.set_callback(std::forward<Object>(cb)); }
+ // callback configuration
+ auto out_irq_cb() { return m_out_irq.bind(); }
DECLARE_WRITE_LINE_MEMBER(ca);
virtual void recv_cb(u8 *buf, int length) override;