aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-28 22:57:48 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-28 22:57:48 +0000
commite89f00e6a3fcba77ce5ffd616a2ca93de5c8fcab (patch)
tree58fd7f65fd1720987058b0b6cf8524ea64e5bc39 /hw
parent1fc3d392009d5de7f2787e4e5acea299f6c3ff1e (diff)
Revert "Fix ne2000_can_receive() function".
When the card is stopped, it should always accept packets, and then discard them. Thanks to Paul Brook for the explanations. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4128 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/ne2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ne2000.c b/hw/ne2000.c
index 6043fc3254..44f30c2afb 100644
--- a/hw/ne2000.c
+++ b/hw/ne2000.c
@@ -217,7 +217,7 @@ static int ne2000_can_receive(void *opaque)
NE2000State *s = opaque;
if (s->cmd & E8390_STOP)
- return 0;
+ return 1;
return !ne2000_buffer_full(s);
}