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:
728d803
)
etrax: Update ethernet mgm-ctrl reg on writes
author
Edgar E. Iglesias
<edgar@axis.com>
Sun, 25 Jul 2010 19:03:56 +0000
(21:03 +0200)
committer
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Sun, 25 Jul 2010 19:03:56 +0000
(21:03 +0200)
Some SW drivers dont keep track of what they've written and
depend on the HW latching write contents for later
read+modify+write sequences.
Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
hw/etraxfs_eth.c
patch
|
blob
|
history
diff --git
a/hw/etraxfs_eth.c
b/hw/etraxfs_eth.c
index
187ece1
..
b897c9c
100644
(file)
--- a/
hw/etraxfs_eth.c
+++ b/
hw/etraxfs_eth.c
@@
-437,6
+437,7
@@
eth_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
eth_validate_duplex(eth);
}
eth->mdio_bus.mdc = !!(value & 4);
+ eth->regs[addr] = value;
break;
case RW_REC_CTRL: