[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200107150254.28604-1-zhengdejin5@gmail.com>
Date: Tue, 7 Jan 2020 23:02:54 +0800
From: Dejin Zheng <zhengdejin5@...il.com>
To: davem@...emloft.net, corbet@....net, mcoquelin.stm32@...il.com,
alexandre.torgue@...com, linus.walleij@...aro.org
Cc: netdev@...r.kernel.org, linux-doc@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Dejin Zheng <zhengdejin5@...il.com>
Subject: [PATCH] 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>.
Signed-off-by: Dejin Zheng <zhengdejin5@...il.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
Powered by blists - more mailing lists