diff options
Diffstat (limited to 'hw/pcnet.c')
-rw-r--r-- | hw/pcnet.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2087,6 +2087,8 @@ void lance_init(NICInfo *nd, target_phys_addr_t leaddr, void *dma_opaque, PCNetState *d; int lance_io_memory; + qemu_check_nic_model(nd, "lance"); + d = qemu_mallocz(sizeof(PCNetState)); if (!d) return; |