rewrote timer implementation for rtl8139.
commit05447803d034fc634c8372091c031578043dd80d
authorFrediano Ziglio <freddy77@gmail.com>
Sat, 20 Feb 2010 17:50:27 +0000 (20 18:50 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 23 Feb 2010 19:23:29 +0000 (23 13:23 -0600)
tree3968825b4a521611869d94f79ecf230a2ba43f7b
parent6f745bdaac26bcbdd7e2ffa2a6ea29aabbbc54e1
rewrote timer implementation for rtl8139.

Add a QEMU timer only when needed (timeout status not set, timeout
irq wanted and timer set).

This patch is required for Darwin. Patch has been tested under
FreeBSD, Darwin and Linux.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/rtl8139.c