e1000: Ignore reset command
commitcab3c825371b73fa71ada4dfa8d64ca99bc08638
authorKevin Wolf <mail@kevin-wolf.de>
Sat, 23 May 2009 09:21:33 +0000 (23 11:21 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 27 May 2009 14:45:06 +0000 (27 09:45 -0500)
treedb7c1310d67597b70cadc2667aa93d695f29e0f3
parent8cf07dcbe7691dbe4f47563058659dba6ef66b05
e1000: Ignore reset command

When a reset is requested, the current e1000 emulation never clears the
reset bit which may cause a driver to hang. This patch masks the reset
bit out when setting the control registert, so the reset is immediately
completed.

Signed-off-by: Kevin Wolf <mail@kevin-wolf.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/e1000.c