Revision 94410b78 hw/etraxfs.c

b/hw/etraxfs.c
95 95

  
96 96
    /* Add the two ethernet blocks.  */
97 97
    nd_table[0].model = nd_table[0].model ? nd_table[0].model : "fseth";
98
    eth[0] = etraxfs_eth_init(&nd_table[0], env, pic->irq + 25, 0x30034000);
98
    eth[0] = etraxfs_eth_init(&nd_table[0], env, pic->irq + 25, 0x30034000, 1);
99 99
    if (nb_nics > 1) {
100 100
        nd_table[1].model = nd_table[1].model ? nd_table[1].model : "fseth";
101
        eth[1] = etraxfs_eth_init(&nd_table[1], env, pic->irq + 26, 0x30036000);
101
        eth[1] = etraxfs_eth_init(&nd_table[1], env,
102
                                  pic->irq + 26, 0x30036000, 2);
102 103
    }
103 104

  
104 105
    /* The DMA Connector block is missing, hardwire things for now.  */

Also available in: Unified diff