pcnet: Do not receive external frames in loopback mode
commitc1ded3dc9f2d6caeb62eb3005510837a62b795d2
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 19 Oct 2010 15:03:24 +0000 (19 17:03 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Sun, 21 Nov 2010 15:16:57 +0000 (21 09:16 -0600)
tree4d638b1f5dfd5ab693ea9edffc6edd8b1e700a90
parent2871a3f6b64966bc78fce0d4033bf32fcd42401c
pcnet: Do not receive external frames in loopback mode

While not explicitly stated in the spec, it was observed on real systems
that enabling loopback testing on the pcnet controller disables
reception of external frames. And some legacy software relies on it, so
provide this behavior.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pcnet.c