Thread (11 messages) flat view 11 messages, 4 authors, 2021-09-14

Re: [RFC PATCH net] Revert "net: phy: Uniform PHY driver access"

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-09-13 18:49:33
Also in: lkml

I am not sure why "to_phy_driver" needs cleanup. Au contraire, I think
the PHY library's usage of struct phy_device :: drv is what is strange
and potentially buggy, it is the only subsystem I know of that keeps its
own driver pointer rather than looking at struct device :: driver.
There is one odd driver in the mix. Take a look at xilinx_gmii2rgmii.c.

It probably could be done a better way, but that is what we have.

   Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help