aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/gxemul/files/patch-bus_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/gxemul/files/patch-bus_pci.c')
-rw-r--r--emulators/gxemul/files/patch-bus_pci.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/gxemul/files/patch-bus_pci.c b/emulators/gxemul/files/patch-bus_pci.c
new file mode 100644
index 000000000000..023dee43bac6
--- /dev/null
+++ b/emulators/gxemul/files/patch-bus_pci.c
@@ -0,0 +1,11 @@
+--- src/devices/bus_pci.c.orig 2008-10-03 14:11:25.000000000 -0700
++++ src/devices/bus_pci.c 2008-10-03 14:11:34.000000000 -0700
+@@ -776,6 +776,8 @@
+ void *wdc1 = ((struct piix_ide_extra *)pd->extra)->wdc1;
+ int enabled = 0;
+
++ PCI_SET_DATA(reg, value);
++
+ switch (reg) {
+ case PCI_COMMAND_STATUS_REG:
+ if (value & PCI_COMMAND_IO_ENABLE)