summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mb89352.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mb89352.h')
-rw-r--r--src/devices/machine/mb89352.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/devices/machine/mb89352.h b/src/devices/machine/mb89352.h
index bf271ad866b..b9723b314d6 100644
--- a/src/devices/machine/mb89352.h
+++ b/src/devices/machine/mb89352.h
@@ -11,20 +11,12 @@
#include "legscsi.h"
-#define MCFG_MB89352A_IRQ_CB(_devcb) \
- downcast<mb89352_device &>(*device).set_irq_callback(DEVCB_##_devcb);
-
-#define MCFG_MB89352A_DRQ_CB(_devcb) \
- downcast<mb89352_device &>(*device).set_drq_callback(DEVCB_##_devcb);
-
class mb89352_device : public legacy_scsi_host_adapter
{
public:
// construction/destruction
mb89352_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
- template <class Object> devcb_base &set_irq_callback(Object &&cb) { return m_irq_cb.set_callback(std::forward<Object>(cb)); }
- template <class Object> devcb_base &set_drq_callback(Object &&cb) { return m_drq_cb.set_callback(std::forward<Object>(cb)); }
auto irq_cb() { return m_irq_cb.bind(); }
auto drq_cb() { return m_drq_cb.bind(); }