]> git.proxmox.com Git - qemu.git/blobdiff - hw/etraxfs_eth.c
user: Restore debug usage message for '-d ?' in user mode emulation
[qemu.git] / hw / etraxfs_eth.c
index 6aa4007203d1d3a0fbf072e648627e5f5919234d..dff5f55f3316ebf5df65707723f25dca8008bcdb 100644 (file)
@@ -602,7 +602,7 @@ void *etraxfs_eth_init(NICInfo *nd, target_phys_addr_t base, int phyaddr)
                                               DEVICE_NATIVE_ENDIAN);
        cpu_register_physical_memory (base, 0x5c, eth->ethregs);
 
-       memcpy(eth->conf.macaddr.a, nd->macaddr, sizeof(nd->macaddr));
+       eth->conf.macaddr = nd->macaddr;
        eth->conf.vlan = nd->vlan;
        eth->conf.peer = nd->netdev;