OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d6b9cc
)
pcnet: Clear ERR in CSR0 on stop
author
Jan Kiszka
<jan.kiszka@siemens.com>
Wed, 29 Feb 2012 14:33:48 +0000
(15:33 +0100)
committer
Jan Kiszka
<jan.kiszka@siemens.com>
Mon, 16 Apr 2012 13:41:24 +0000
(15:41 +0200)
pcnet_stop already clears any reason (BABL, CERR, MISS, MERR) why ERR
(bit 15) should be set in CRS0. So we have to clear that bit as well.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hw/pcnet.c
patch
|
blob
|
history
diff --git
a/hw/pcnet.c
b/hw/pcnet.c
index
c53f06e
..
7413409
100644
(file)
--- a/
hw/pcnet.c
+++ b/
hw/pcnet.c
@@
-884,7
+884,7
@@
static void pcnet_stop(PCNetState *s)
#ifdef PCNET_DEBUG
printf("pcnet_stop\n");
#endif
- s->csr[0] &= ~0x
7
feb;
+ s->csr[0] &= ~0x
f
feb;
s->csr[0] |= 0x0014;
s->csr[4] &= ~0x02c2;
s->csr[5] &= ~0x0011;