diff options
author | tedgreen99 <tedgreen99@users.noreply.github.com> | 2022-05-12 21:08:25 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 23:08:25 -0400 |
commit | bdc0d0dea1f4113bca2ce5162dc044a026b43b58 (patch) | |
tree | 56a9d28dfb3c8996a82924a96d2bf0cfdfb129db /src/devices/machine | |
parent | 4bb59254f62104ce39fadd9298b0b902eef79476 (diff) |
dinetwork: Add mtu paramter and remove unnecessary floating point calculations (#9742)
Diffstat (limited to 'src/devices/machine')
-rw-r--r-- | src/devices/machine/am79c90.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/cs8900a.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/dp8390.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/dp8390.h | 2 | ||||
-rw-r--r-- | src/devices/machine/dp83932c.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/edlc.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/i82586.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/smc91c9x.cpp | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/machine/am79c90.cpp b/src/devices/machine/am79c90.cpp index 38da531a2cd..ce2fb4837fe 100644 --- a/src/devices/machine/am79c90.cpp +++ b/src/devices/machine/am79c90.cpp @@ -59,7 +59,7 @@ DEFINE_DEVICE_TYPE(AM79C90, am79c90_device, "am79c90", "Am79C90 C-LANCE Ethernet am7990_device_base::am7990_device_base(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) : device_t(mconfig, type, tag, owner, clock) - , device_network_interface(mconfig, *this, 10.0f) + , device_network_interface(mconfig, *this, 10) , m_intr_out_cb(*this) , m_dma_in_cb(*this) , m_dma_out_cb(*this) diff --git a/src/devices/machine/cs8900a.cpp b/src/devices/machine/cs8900a.cpp index 6f6535150f7..52e0808bb01 100644 --- a/src/devices/machine/cs8900a.cpp +++ b/src/devices/machine/cs8900a.cpp @@ -377,7 +377,7 @@ void cs8900a_device::device_start() cs8900a_device::cs8900a_device(const machine_config& mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, type, tag, owner, clock) - , device_network_interface(mconfig, *this, 10.0f) + , device_network_interface(mconfig, *this, 10) , cs8900_ia_mac{0, 0, 0, 0, 0, 0} , cs8900_packetpage_ptr(0) , cs8900_recv_control(0) /* copy of CC_RXCTL (contains all bits below) */ diff --git a/src/devices/machine/dp8390.cpp b/src/devices/machine/dp8390.cpp index 75217661215..49b98e94846 100644 --- a/src/devices/machine/dp8390.cpp +++ b/src/devices/machine/dp8390.cpp @@ -19,7 +19,7 @@ rtl8019a_device::rtl8019a_device(const machine_config &mconfig, const char *tag, { } -dp8390_device::dp8390_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, TYPE variant, float bandwidth) +dp8390_device::dp8390_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, TYPE variant, u32 bandwidth) : device_t(mconfig, type, tag, owner, clock) , device_network_interface(mconfig, *this, bandwidth) , m_variant(variant) diff --git a/src/devices/machine/dp8390.h b/src/devices/machine/dp8390.h index 64bc6436733..1dfde1f01a5 100644 --- a/src/devices/machine/dp8390.h +++ b/src/devices/machine/dp8390.h @@ -30,7 +30,7 @@ protected: }; // construction/destruction - dp8390_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, TYPE varian, float bandwidth); + dp8390_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, TYPE varian, u32 bandwidth); // device-level overrides virtual void device_start() override; diff --git a/src/devices/machine/dp83932c.cpp b/src/devices/machine/dp83932c.cpp index ef50d8ed4e0..cadef10e602 100644 --- a/src/devices/machine/dp83932c.cpp +++ b/src/devices/machine/dp83932c.cpp @@ -66,7 +66,7 @@ static u16 const regmask[] = dp83932c_device::dp83932c_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock) : device_t(mconfig, DP83932C, tag, owner, clock) - , device_network_interface(mconfig, *this, 10.0f) + , device_network_interface(mconfig, *this, 10) , m_bus(*this, finder_base::DUMMY_TAG, 0) , m_out_int(*this) , m_int_state(false) diff --git a/src/devices/machine/edlc.cpp b/src/devices/machine/edlc.cpp index 87f42602828..480b0520c03 100644 --- a/src/devices/machine/edlc.cpp +++ b/src/devices/machine/edlc.cpp @@ -39,7 +39,7 @@ static const u8 ETH_BROADCAST[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; seeq8003_device::seeq8003_device(machine_config const &mconfig, device_type type, char const *tag, device_t *owner, u32 clock) : device_t(mconfig, type, tag, owner, clock) - , device_network_interface(mconfig, *this, 10.0f) + , device_network_interface(mconfig, *this, 10) , m_out_int(*this) , m_out_rxrdy(*this) , m_out_txrdy(*this) diff --git a/src/devices/machine/i82586.cpp b/src/devices/machine/i82586.cpp index 510acc4e9d2..360d404836c 100644 --- a/src/devices/machine/i82586.cpp +++ b/src/devices/machine/i82586.cpp @@ -111,7 +111,7 @@ CFG_PARAMS[] = i82586_base_device::i82586_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, endianness_t endian, u8 datawidth, u8 addrwidth) : device_t(mconfig, type, tag, owner, clock) , device_memory_interface(mconfig, *this) - , device_network_interface(mconfig, *this, 10.0f) + , device_network_interface(mconfig, *this, 10) , m_space_config("shared", endian, datawidth, addrwidth) , m_out_irq(*this) , m_cx(false) diff --git a/src/devices/machine/smc91c9x.cpp b/src/devices/machine/smc91c9x.cpp index 8b0d22f8c71..3b661933e42 100644 --- a/src/devices/machine/smc91c9x.cpp +++ b/src/devices/machine/smc91c9x.cpp @@ -62,7 +62,7 @@ smc91c96_device::smc91c96_device(const machine_config &mconfig, const char *tag, smc91c9x_device::smc91c9x_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, dev_type device_type) : device_t(mconfig, type, tag, owner, clock) - , device_network_interface(mconfig, *this, 10.0f) + , device_network_interface(mconfig, *this, 10) , m_device_type(device_type) , m_num_ebuf(16) , m_irq_handler(*this) |