[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f5f5c674-8563-bd92-c065-0bfbcc364ef5@david-bauer.net>
Date: Mon, 23 Mar 2020 22:08:49 +0100
From: David Bauer <mail@...id-bauer.net>
To: Andrew Lunn <andrew@...n.ch>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: phy: at803x: select correct page on initialization
Hello Andrew,
On 3/23/20 5:53 PM, Andrew Lunn wrote:
> You might want to look at phy_read_paged(), phy_write_paged(), etc,
> depending on your needs. There can be locking issues, which these
> functions address.
Thanks for the hint, i was not aware of these methods. I see how they can handle
e.g. the page-switching logic in phy_read_paged.
However i still need to select the copper page on config initialization manually,
as genphy_update_link is not page aware or am i missing something here?
Best wishes
David
Powered by blists - more mailing lists