[PATCH] net: phy: do not crash on missing read_page()/write_page() ops
Sascha Hauer
s.hauer at pengutronix.de
Wed Apr 3 04:25:41 PDT 2024
On Mon, 25 Mar 2024 12:02:14 +0100, Sascha Hauer wrote:
> Normally phy_select_page() is only called from within the phy driver.
> The exception is the r8169 network driver. It calls phy_select_page()
> assuming that its internal phy is supported by the realtek phy driver
> which supports this operation. It can happen though that the internal
> phy is not yet supported by the realtek phy driver and thus support
> falls back to the generic phy driver. return gracefully in this case
> instead of crashing barebox.
>
> [...]
Applied, thanks!
[1/1] net: phy: do not crash on missing read_page()/write_page() ops
https://git.pengutronix.de/cgit/barebox/commit/?id=8a9d15f9a0f4 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list