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@xxxxxxxxx> --- 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