Revision 678fdca8 hw/etraxfs_eth.c
b/hw/etraxfs_eth.c | ||
---|---|---|
320 | 320 |
struct fs_eth |
321 | 321 |
{ |
322 | 322 |
CPUState *env; |
323 |
qemu_irq *irq; |
|
324 | 323 |
VLANClientState *vc; |
325 | 324 |
int ethregs; |
326 | 325 |
|
... | ... | |
565 | 564 |
} |
566 | 565 |
|
567 | 566 |
void *etraxfs_eth_init(NICInfo *nd, CPUState *env, |
568 |
qemu_irq *irq, target_phys_addr_t base, int phyaddr)
|
|
567 |
target_phys_addr_t base, int phyaddr) |
|
569 | 568 |
{ |
570 | 569 |
struct etraxfs_dma_client *dma = NULL; |
571 | 570 |
struct fs_eth *eth = NULL; |
... | ... | |
582 | 581 |
dma[1].client.pull = NULL; |
583 | 582 |
|
584 | 583 |
eth->env = env; |
585 |
eth->irq = irq; |
|
586 | 584 |
eth->dma_out = dma; |
587 | 585 |
eth->dma_in = dma + 1; |
588 | 586 |
|
Also available in: Unified diff