From cdcf9153e5e17dde340135fee5dcc7c299f2d4f5 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Sun, 25 Jul 2010 21:03:56 +0200 Subject: etrax: Update ethernet mgm-ctrl reg on writes 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 --- hw/etraxfs_eth.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw') diff --git a/hw/etraxfs_eth.c b/hw/etraxfs_eth.c index 187ece19ea..b897c9c167 100644 --- 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: -- cgit v1.2.3