Revision e3f5ec2b hw/musicpal.c
b/hw/musicpal.c | ||
---|---|---|
557 | 557 |
le32_to_cpus(&desc->next); |
558 | 558 |
} |
559 | 559 |
|
560 |
static int eth_can_receive(void *opaque)
|
|
560 |
static int eth_can_receive(VLANClientState *vc)
|
|
561 | 561 |
{ |
562 | 562 |
return 1; |
563 | 563 |
} |
564 | 564 |
|
565 |
static void eth_receive(void *opaque, const uint8_t *buf, size_t size)
|
|
565 |
static void eth_receive(VLANClientState *vc, const uint8_t *buf, size_t size)
|
|
566 | 566 |
{ |
567 |
mv88w8618_eth_state *s = opaque; |
|
567 |
mv88w8618_eth_state *s = vc->opaque;
|
|
568 | 568 |
uint32_t desc_addr; |
569 | 569 |
mv88w8618_rx_desc desc; |
570 | 570 |
int i; |
Also available in: Unified diff