mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-07 15:07:42 -07:00
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 <edgar@axis.com>
This commit is contained in:
parent
728d803baa
commit
cdcf9153e5
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue