]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/net/lan9118.c
Merge remote-tracking branch 'remotes/kraxel/tags/usb-20170717-pull-request' into...
[mirror_qemu.git] / hw / net / lan9118.c
index 4615d873b1be67d258e03a740c861f7f3bc524e0..3db8937cac3b8d881c3ad8487a5e78b6ca285777 100644 (file)
@@ -1345,7 +1345,7 @@ static int lan9118_init1(SysBusDevice *sbd)
     s->txp = &s->tx_packet;
 
     bh = qemu_bh_new(lan9118_tick, s);
-    s->timer = ptimer_init(bh);
+    s->timer = ptimer_init(bh, PTIMER_POLICY_DEFAULT);
     ptimer_set_freq(s->timer, 10000);
     ptimer_set_limit(s->timer, 0xffff, 1);