]> git.proxmox.com Git - qemu.git/blobdiff - hw/dp8393x.c
user: Restore debug usage message for '-d ?' in user mode emulation
[qemu.git] / hw / dp8393x.c
index c332dd59d285c2972ec6d47603835d311b272e16..1bcd8eeba9e650dd8c28efebccec7f4e3062076f 100644 (file)
@@ -898,7 +898,7 @@ void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift,
     s->watchdog = qemu_new_timer_ns(vm_clock, dp8393x_watchdog, s);
     s->regs[SONIC_SR] = 0x0004; /* only revision recognized by Linux */
 
-    memcpy(s->conf.macaddr.a, nd->macaddr, sizeof(s->conf.macaddr));
+    s->conf.macaddr = nd->macaddr;
     s->conf.vlan = nd->vlan;
     s->conf.peer = nd->netdev;