Revision 94410b78 hw/axis_dev88.c
b/hw/axis_dev88.c | ||
---|---|---|
304 | 304 |
|
305 | 305 |
/* Add the two ethernet blocks. */ |
306 | 306 |
nd_table[0].model = nd_table[0].model ? nd_table[0].model : "fseth"; |
307 |
eth[0] = etraxfs_eth_init(&nd_table[0], env, pic->irq + 25, 0x30034000); |
|
307 |
eth[0] = etraxfs_eth_init(&nd_table[0], env, pic->irq + 25, 0x30034000, 1);
|
|
308 | 308 |
if (nb_nics > 1) { |
309 | 309 |
nd_table[1].model = nd_table[1].model ? nd_table[1].model : "fseth"; |
310 |
eth[1] = etraxfs_eth_init(&nd_table[1], env, pic->irq + 26, 0x30036000); |
|
310 |
eth[1] = etraxfs_eth_init(&nd_table[1], env, |
|
311 |
pic->irq + 26, 0x30036000, 2); |
|
311 | 312 |
} |
312 | 313 |
|
313 | 314 |
/* The DMA Connector block is missing, hardwire things for now. */ |
Also available in: Unified diff