Commit daa6549120feeaa017b552fe8dad41271f344f7c

Authored by Blue Swirl
1 parent 72f44c8c

Sparc32: Fix lance

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Showing 1 changed file with 1 additions and 0 deletions
hw/sun4m.c
... ... @@ -374,6 +374,7 @@ static void lance_init(NICInfo *nd, target_phys_addr_t leaddr,
374 374  
375 375 dev = qdev_create(NULL, "lance");
376 376 dev->nd = nd;
  377 + qdev_prop_set_ptr(dev, "dma", dma_opaque);
377 378 qdev_init(dev);
378 379 s = sysbus_from_qdev(dev);
379 380 sysbus_mmio_map(s, 0, leaddr);
... ...