mirror of
https://github.com/xemu-project/xemu.git
synced 2026-11-14 18:19:00 +01:00
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
This commit is contained in:
1 parent
1fc3d39200
commit
e89f00e6a3
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user