aboutsummaryrefslogtreecommitdiff
path: root/hw/esp.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-08-08 21:43:12 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-08-08 21:43:12 +0000
commit74ff8d90a11bdcbfabf0da10e4556cf139c096f7 (patch)
tree0c30e841ad6e4692c026e2f3ac824bca0b3cfb09 /hw/esp.c
parentd95d8f1c11132355d72f23f9500fd9229f5f3c1f (diff)
Sparc32: move sparc32_dma init to sun4m.c
Also connect ESP and Lance reset signals to DMA. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/esp.c')
-rw-r--r--hw/esp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/esp.c b/hw/esp.c
index cb6c993c8e..146a73a0e1 100644
--- a/hw/esp.c
+++ b/hw/esp.c
@@ -667,6 +667,7 @@ void esp_init(target_phys_addr_t espaddr, int it_shift,
s = sysbus_from_qdev(dev);
sysbus_connect_irq(s, 0, irq);
sysbus_mmio_map(s, 0, espaddr);
+ *reset = qdev_get_gpio_in(dev, 0);
}
static void esp_init1(SysBusDevice *dev)