summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pci-ide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/pci-ide.cpp')
-rw-r--r--src/devices/machine/pci-ide.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/machine/pci-ide.cpp b/src/devices/machine/pci-ide.cpp
index 39d359a2905..1dbc2775ff8 100644
--- a/src/devices/machine/pci-ide.cpp
+++ b/src/devices/machine/pci-ide.cpp
@@ -69,6 +69,10 @@ void ide_pci_device::device_start()
{
pci_device::device_start();
+ // always keep this device memory ranges active
+ command |= 3;
+ command_mask &= ~3;
+
add_map(8, M_IO, FUNC(ide_pci_device::chan1_data_command_map));
add_map(4, M_IO, FUNC(ide_pci_device::chan1_control_map));
add_map(8, M_IO, FUNC(ide_pci_device::chan2_data_command_map));