]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/alpha/dp264: Add the ISA DMA controller
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 8 Mar 2018 22:39:44 +0000 (23:39 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Mar 2018 15:12:49 +0000 (16:12 +0100)
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180308223946.26784-24-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
default-configs/alpha-softmmu.mak
hw/alpha/dp264.c

index e0d75e3058fb252598b117f508eeecb8866f385c..3740adc5e9b2704bfcc0307da5f78202e4e25c38 100644 (file)
@@ -4,7 +4,9 @@ include pci.mak
 include usb.mak
 CONFIG_SERIAL=y
 CONFIG_SERIAL_ISA=y
+CONFIG_I82374=y
 CONFIG_I8254=y
+CONFIG_I8257=y
 CONFIG_PCKBD=y
 CONFIG_VGA_CIRRUS=y
 CONFIG_IDE_CORE=y
index e13cb576fd2ff3d1389be819f4e215156ecc4703..ffad678ea71d0171d8921abeaac193eca51b5f9e 100644 (file)
@@ -21,6 +21,7 @@
 #include "hw/timer/i8254.h"
 #include "hw/input/i8042.h"
 #include "hw/char/serial.h"
+#include "hw/dma/i8257.h"
 #include "qemu/cutils.h"
 
 #define MAX_IDE_BUS 2
@@ -95,6 +96,9 @@ static void clipper_init(MachineState *machine)
         pci_nic_init_nofail(&nd_table[i], pci_bus, "e1000", NULL);
     }
 
+    /* 2 82C37 (dma) */
+    isa_create_simple(isa_bus, "i82374");
+
     /* IDE disk setup.  */
     {
         DriveInfo *hd[MAX_IDE_BUS * MAX_IDE_DEVS];