summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/edlc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/edlc.cpp')
-rw-r--r--src/devices/machine/edlc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/edlc.cpp b/src/devices/machine/edlc.cpp
index 28b33a807b8..26bcad50e21 100644
--- a/src/devices/machine/edlc.cpp
+++ b/src/devices/machine/edlc.cpp
@@ -82,7 +82,7 @@ void seeq8003_device::device_reset()
// TODO: deassert RxDC and TxRET
- if (m_dev)
+ if (has_net_device())
m_out_txrdy(1);
interrupt();
@@ -427,7 +427,7 @@ void seeq80c03_device::send_complete_cb(int result)
else
{
// assume transmit failure and no device means loss of carrier
- if ((m_control & CTL_TNC) && !m_dev)
+ if ((m_control & CTL_TNC) && !has_net_device())
m_flags |= FLAGS_TNC;
}
}