Revision 99a0949b hw/etraxfs_eth.c
b/hw/etraxfs_eth.c | ||
---|---|---|
365 | 365 |
} |
366 | 366 |
} |
367 | 367 |
|
368 |
static uint32_t eth_readl (void *opaque, target_phys_addr_t addr)
|
|
368 |
static uint32_t eth_readl (void *opaque, a_target_phys_addr addr)
|
|
369 | 369 |
{ |
370 | 370 |
struct fs_eth *eth = opaque; |
371 | 371 |
uint32_t r = 0; |
... | ... | |
409 | 409 |
} |
410 | 410 |
|
411 | 411 |
static void |
412 |
eth_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
|
|
412 |
eth_writel (void *opaque, a_target_phys_addr addr, uint32_t value)
|
|
413 | 413 |
{ |
414 | 414 |
struct fs_eth *eth = opaque; |
415 | 415 |
|
... | ... | |
564 | 564 |
qemu_free(eth); |
565 | 565 |
} |
566 | 566 |
|
567 |
void *etraxfs_eth_init(NICInfo *nd, target_phys_addr_t base, int phyaddr)
|
|
567 |
void *etraxfs_eth_init(NICInfo *nd, a_target_phys_addr base, int phyaddr)
|
|
568 | 568 |
{ |
569 | 569 |
struct etraxfs_dma_client *dma = NULL; |
570 | 570 |
struct fs_eth *eth = NULL; |
Also available in: Unified diff