summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/dp83932c.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/dp83932c.h')
-rw-r--r--src/devices/machine/dp83932c.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/devices/machine/dp83932c.h b/src/devices/machine/dp83932c.h
index 054bb9e28cd..2a7d271eb11 100644
--- a/src/devices/machine/dp83932c.h
+++ b/src/devices/machine/dp83932c.h
@@ -6,6 +6,8 @@
#pragma once
+#include "dinetwork.h"
+
class dp83932c_device
: public device_t
, public device_network_interface
@@ -33,7 +35,7 @@ protected:
virtual void recv_complete_cb(int result) override;
// command helpers
- void command(void *ptr, s32 param);
+ void command(s32 param);
void transmit();
void read_rra(bool command = false);
void load_cam();
@@ -207,6 +209,10 @@ private:
bool m_int_state;
u16 m_reg[64];
u64 m_cam[16];
+
+ // These wrappers handle 16-bit data stored on 32-bit word boundaries when in 32-bit mode
+ u16 read_bus_word(offs_t address);
+ void write_bus_word(offs_t address, u16 data);
};
DECLARE_DEVICE_TYPE(DP83932C, dp83932c_device)