Re: [Qemu-devel] [PATCH v5 4/7] hw/mdio: Mask out read-only bits.

2018-02-27 Thread Alistair Francis
On Fri, Sep 22, 2017 at 10:13 AM, Philippe Mathieu-Daudé wrote: > From: Grant Likely > > The RST and ANEG_RST bits are commands, not settings. An operating > system will get confused (or at least u-boot does) if those bits remain > set after writing to them. Therefore, mask them out on write. > >

[Qemu-devel] [PATCH v5 4/7] hw/mdio: Mask out read-only bits.

2017-09-22 Thread Philippe Mathieu-Daudé
From: Grant Likely The RST and ANEG_RST bits are commands, not settings. An operating system will get confused (or at least u-boot does) if those bits remain set after writing to them. Therefore, mask them out on write. Similarly, no bits in the ID1, ID2, and remote capability registers are writ