mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
net: mdiobus: search for PSE nodes by parsing PHY nodes.
Some PHYs can be linked with PSE (Power Sourcing Equipment), so search for related nodes and attach it to the phydev. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
cfaa202a73
commit
5e82147de1
@@ -597,6 +597,7 @@ struct macsec_ops;
|
||||
* @master_slave_get: Current master/slave advertisement
|
||||
* @master_slave_state: Current master/slave configuration
|
||||
* @mii_ts: Pointer to time stamper callbacks
|
||||
* @psec: Pointer to Power Sourcing Equipment control struct
|
||||
* @lock: Mutex for serialization access to PHY
|
||||
* @state_queue: Work queue for state machine
|
||||
* @shared: Pointer to private data shared by phys in one package
|
||||
@@ -715,6 +716,7 @@ struct phy_device {
|
||||
struct phylink *phylink;
|
||||
struct net_device *attached_dev;
|
||||
struct mii_timestamper *mii_ts;
|
||||
struct pse_control *psec;
|
||||
|
||||
u8 mdix;
|
||||
u8 mdix_ctrl;
|
||||
|
||||
Reference in New Issue
Block a user