e1000: Ignore reset command
commit61348b076bf9b8cb31bdd26d2eeb41882ee27282
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:47:11 +0000 (27 09:47 -0500)
tree5619521832d7946912c3ad3f5ebe3bb366617dad
parent9e3a7df77c6c456ff58ab9931cb86e3d5983404d
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