dev: net/i8254xGBe add two more wakeup registers to ignore
authorBjoern A. Zeeb <baz21@cam.ac.uk>
Thu, 9 Feb 2017 23:59:55 +0000 (18:59 -0500)
committerBjoern A. Zeeb <baz21@cam.ac.uk>
Thu, 9 Feb 2017 23:59:55 +0000 (18:59 -0500)
commitd728f6786b26a66816f1d4ae0abdefd01e5ec3c4
tree2b6fc19794cf2ea18ea9a749244efd4be4717f80
parentf0786704db90b0020066d19652886b9311516b45
dev: net/i8254xGBe add two more wakeup registers to ignore

There are drivers writing to WUFC uncondtionally of anything.  In order to
not panic gem5 in these cases, ignore writes to WUFC and WUS as we do for
WUC.  Similarly return 0 (default reset value) on reads.

Testing Done: Booted in FS with such a driver revision which would
previously panic and now boots fine.

Reviewed at http://reviews.gem5.org/r/3791/

Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
src/dev/net/i8254xGBe.cc
src/dev/net/i8254xGBe_defs.hh