linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: networking: device drivers: sync stmmac_mdio_bus_data info
@ 2020-01-07 15:02 Dejin Zheng
  2020-01-07 15:16 ` Jose Abreu
  0 siblings, 1 reply; 3+ messages in thread
From: Dejin Zheng @ 2020-01-07 15:02 UTC (permalink / raw)
  To: davem, corbet, mcoquelin.stm32, alexandre.torgue, linus.walleij
  Cc: netdev, linux-doc, linux-stm32, linux-arm-kernel, linux-kernel,
	Dejin Zheng

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>.

Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
---
 Documentation/networking/device_drivers/stmicro/stmmac.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/networking/device_drivers/stmicro/stmmac.txt b/Documentation/networking/device_drivers/stmicro/stmmac.txt
index 1ae979fd90d2..3d8a83158309 100644
--- a/Documentation/networking/device_drivers/stmicro/stmmac.txt
+++ b/Documentation/networking/device_drivers/stmicro/stmmac.txt
@@ -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.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] Documentation: networking: device drivers: sync stmmac_mdio_bus_data info
  2020-01-07 15:02 [PATCH] Documentation: networking: device drivers: sync stmmac_mdio_bus_data info Dejin Zheng
@ 2020-01-07 15:16 ` Jose Abreu
  2020-01-07 15:42   ` Dejin Zheng
  0 siblings, 1 reply; 3+ messages in thread
From: Jose Abreu @ 2020-01-07 15:16 UTC (permalink / raw)
  To: Dejin Zheng, davem, corbet, mcoquelin.stm32, alexandre.torgue,
	linus.walleij
  Cc: netdev, linux-doc, linux-stm32, linux-arm-kernel, linux-kernel

From: Dejin Zheng <zhengdejin5@gmail.com>
Date: Jan/07/2020, 15:02:54 (UTC+00:00)

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: networking: device drivers: sync stmmac_mdio_bus_data info
  2020-01-07 15:16 ` Jose Abreu
@ 2020-01-07 15:42   ` Dejin Zheng
  0 siblings, 0 replies; 3+ messages in thread
From: Dejin Zheng @ 2020-01-07 15:42 UTC (permalink / raw)
  To: Jose Abreu
  Cc: davem, corbet, mcoquelin.stm32, alexandre.torgue, linus.walleij,
	netdev, linux-doc, linux-stm32, linux-arm-kernel, linux-kernel

On Tue, Jan 07, 2020 at 03:16:10PM +0000, Jose Abreu wrote:
> From: Dejin Zheng <zhengdejin5@gmail.com>
> Date: Jan/07/2020, 15:02:54 (UTC+00:00)
> 
> > 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
>
Jose, Thanks for your notice, abandon this commit.

BR,
dejin

> ---
> Thanks,
> Jose Miguel Abreu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-07 15:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-07 15:02 [PATCH] Documentation: networking: device drivers: sync stmmac_mdio_bus_data info Dejin Zheng
2020-01-07 15:16 ` Jose Abreu
2020-01-07 15:42   ` Dejin Zheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).