aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-21 08:36:52 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-07-21 08:53:39 +0000
commitdaa6549120feeaa017b552fe8dad41271f344f7c (patch)
treef71c0b794d35dcb531f69a91d62b2fa14cac772f
parent72f44c8cc73deec56a04156384a2d76b7a3ab82d (diff)
Sparc32: Fix lance
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--hw/sun4m.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/sun4m.c b/hw/sun4m.c
index c810b35984..f390595886 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -374,6 +374,7 @@ static void lance_init(NICInfo *nd, target_phys_addr_t leaddr,
dev = qdev_create(NULL, "lance");
dev->nd = nd;
+ qdev_prop_set_ptr(dev, "dma", dma_opaque);
qdev_init(dev);
s = sysbus_from_qdev(dev);
sysbus_mmio_map(s, 0, leaddr);