Revision ba494313 hw/axis_dev88.c

b/hw/axis_dev88.c
309 309
    nmi[0] = qdev_get_gpio_in(dev, 30);
310 310
    nmi[1] = qdev_get_gpio_in(dev, 31);
311 311

  
312
    etraxfs_dmac = etraxfs_dmac_init(env, 0x30000000, 10);
312
    etraxfs_dmac = etraxfs_dmac_init(0x30000000, 10);
313 313
    for (i = 0; i < 10; i++) {
314 314
        /* On ETRAX, odd numbered channels are inputs.  */
315 315
        etraxfs_dmac_connect(etraxfs_dmac, i, irq + 7 + i, i & 1);
316 316
    }
317 317

  
318 318
    /* Add the two ethernet blocks.  */
319
    eth[0] = etraxfs_eth_init(&nd_table[0], env, 0x30034000, 1);
319
    eth[0] = etraxfs_eth_init(&nd_table[0], 0x30034000, 1);
320 320
    if (nb_nics > 1)
321
        eth[1] = etraxfs_eth_init(&nd_table[1], env, 0x30036000, 2);
321
        eth[1] = etraxfs_eth_init(&nd_table[1], 0x30036000, 2);
322 322

  
323 323
    /* The DMA Connector block is missing, hardwire things for now.  */
324 324
    etraxfs_dmac_connect_client(etraxfs_dmac, 0, eth[0]);

Also available in: Unified diff