Skip to contentSkip to conversation

Documentation: networking: device drivers: sync stmmac_mdio_bus_data info

PATCH In review Dejin Zheng 2 participants 3 messages Jan 7, 2020

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: networking: device drivers: sync stmmac_mdio_bus_data info

Recent changes in the stmmac driver, it removes the phy_reset hook from struct stmmac_mdio_bus_data by commit <fead5b1b5838ba2>, and add the member of needs_reset to struct stmmac_mdio_bus_data by commit <1a981c0586c0387>.

---
 Documentation/networking/device_drivers/stmicro/stmmac.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/networking/device_drivers/stmicro/stmmac.txt +2 -2
index 1ae979fd90d2..3d8a83158309 100644
@@ -190,17 +190,17 @@ Where:
 For MDIO bus The we have:
 
  struct stmmac_mdio_bus_data {
-	int (*phy_reset)(void *priv);
 	unsigned int phy_mask;
 	int *irqs;
 	int probed_phy_irq;
+	bool needs_reset;
  };
 
 Where:
- o phy_reset: hook to reset the phy device attached to the bus.
  o phy_mask: phy mask passed when register the MDIO bus within the driver.
  o irqs: list of IRQs, one per PHY.
  o probed_phy_irq: if irqs is NULL, use this for probed PHY.
+ o needs_reset: make MDIO bus reset optional.
 
 For DMA engine we have the following internal fields that should be
 tuned according to the HW capabilities.
Signature · 1 line
2.17.1
#1 lore raw

From: Dejin Zheng <[email protected]>
Date: Jan/07/2020, 15:02:54 (UTC+00:00)

Quoted 4 lines

Recent changes in the stmmac driver, it removes the phy_reset hook from struct stmmac_mdio_bus_data by commit <fead5b1b5838ba2>, and add the member of needs_reset to struct stmmac_mdio_bus_data by commit <1a981c0586c0387>.

This will file be no longer maitained as we are moving to RST format. Please see [1].

[1] https://patchwork.ozlabs.org/project/netdev/list/?series=151601

---
Thanks,
Jose Miguel Abreu

#2 lore raw
Quoted 8 lines · Jose Abreu

From: Dejin Zheng <[email protected]>
Date: Jan/07/2020, 15:02:54 (UTC+00:00)

Quoted 4 lines

Recent changes in the stmmac driver, it removes the phy_reset hook from struct stmmac_mdio_bus_data by commit <fead5b1b5838ba2>, and add the member of needs_reset to struct stmmac_mdio_bus_data by commit <1a981c0586c0387>.

Quoted 5 lines

This will file be no longer maitained as we are moving to RST format. Please see [1].

[1] https://patchwork.ozlabs.org/project/netdev/list/?series=151601

Jose, Thanks for your notice, abandon this commit.

BR,
dejin

Quoted 3 lines

---
Thanks,
Jose Miguel Abreu