Revision 4f1c942b hw/mcf_fec.c

b/hw/mcf_fec.c
353 353
    return s->rx_enabled;
354 354
}
355 355

  
356
static void mcf_fec_receive(VLANClientState *vc, const uint8_t *buf, size_t size)
356
static ssize_t mcf_fec_receive(VLANClientState *vc, const uint8_t *buf, size_t size)
357 357
{
358 358
    mcf_fec_state *s = vc->opaque;
359 359
    mcf_fec_bd bd;
......
426 426
    s->rx_descriptor = addr;
427 427
    mcf_fec_enable_rx(s);
428 428
    mcf_fec_update(s);
429
    return size;
429 430
}
430 431

  
431 432
static CPUReadMemoryFunc *mcf_fec_readfn[] = {

Also available in: Unified diff