# Re: \[PATCH net-next 7/9\] net: phy: icplus: select page before writing control register

- From: Andrew Lunn \<andrew@lunn.ch\>
- Date: 2021-02-10 02:32:33 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/02/6265164
- Thread: https://ratatoskr.run/netdev/2021/02/6264634/t.md

```text
On Tue, Feb 09, 2021 at 05:40:49PM +0100, Michael Walle wrote:
> Registers >= 16 are paged. Be sure to set the page. It seems this was
> working for now, because the default is correct for the registers used
> in the driver at the moment. But this will also assume, nobody will
> change the page select register before linux is started. The page select
> register is _not_ reset with a soft reset of the PHY.
> 
> Add read_page()/write_page() support for the IP101G and use it
> accordingly.
> 
> Signed-off-by: Michael Walle <redacted>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
```
