Revision 487414f1 hw/ne2000.c
b/hw/ne2000.c | ||
---|---|---|
725 | 725 |
qemu_check_nic_model(nd, "ne2k_isa"); |
726 | 726 |
|
727 | 727 |
s = qemu_mallocz(sizeof(NE2000State)); |
728 |
if (!s) |
|
729 |
return; |
|
730 | 728 |
|
731 | 729 |
register_ioport_write(base, 16, 1, ne2000_ioport_write, s); |
732 | 730 |
register_ioport_read(base, 16, 1, ne2000_ioport_read, s); |
Also available in: Unified diff