Revision 0ae18cee hw/mcf_fec.c
b/hw/mcf_fec.c | ||
---|---|---|
446 | 446 |
mcf_fec_state *s; |
447 | 447 |
int iomemtype; |
448 | 448 |
|
449 |
qemu_check_nic_model(nd, "mcf_fec"); |
|
450 |
|
|
449 | 451 |
s = (mcf_fec_state *)qemu_mallocz(sizeof(mcf_fec_state)); |
450 | 452 |
s->irq = irq; |
451 | 453 |
iomemtype = cpu_register_io_memory(0, mcf_fec_readfn, |
Also available in: Unified diff