summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/i82439hx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/i82439hx.cpp')
-rw-r--r--src/devices/machine/i82439hx.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/devices/machine/i82439hx.cpp b/src/devices/machine/i82439hx.cpp
index 86ac53874b7..33ff69052eb 100644
--- a/src/devices/machine/i82439hx.cpp
+++ b/src/devices/machine/i82439hx.cpp
@@ -25,14 +25,10 @@ void i82439hx_host_device::config_map(address_map &map)
i82439hx_host_device::i82439hx_host_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: pci_host_device(mconfig, I82439HX, tag, owner, clock)
+ , cpu(*this, finder_base::DUMMY_TAG)
{
}
-void i82439hx_host_device::set_cpu_tag(const char *_cpu_tag)
-{
- cpu_tag = _cpu_tag;
-}
-
void i82439hx_host_device::set_ram_size(int _ram_size)
{
ram_size = _ram_size;
@@ -41,7 +37,6 @@ void i82439hx_host_device::set_ram_size(int _ram_size)
void i82439hx_host_device::device_start()
{
pci_host_device::device_start();
- cpu = machine().device<cpu_device>(cpu_tag);
memory_space = &cpu->space(AS_PROGRAM);
io_space = &cpu->space(AS_IO);