Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp340950ybl; Tue, 7 Jan 2020 07:04:30 -0800 (PST) X-Google-Smtp-Source: APXvYqxvQSxFSEW+JgEXckKhnsLoN0EnH2gRe77xh5v1Gpyj1/x9ariSgnqHkCt7yVR5NA2FA308 X-Received: by 2002:a05:6830:1385:: with SMTP id d5mr168785otq.61.1578409470365; Tue, 07 Jan 2020 07:04:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578409470; cv=none; d=google.com; s=arc-20160816; b=JeFLM3Eagf135UOCLdgtNfQKC5mEjcpfrXEGo1l6Iq87g22hf8NWS9gnGIEBZTxVGO NX3cgyWKS57c3Yxi3HyX0KSye1dzuNhGjJp9AQt5fQ6P1gvApiFMNzSZ7bdgBJmX1/IO i+Qd8JF3FNtWzzvYBTsioxVt6umXrafG67pQNwwv5EbyjVf8khMWEX/+EIreAlliKaVB rENkVeMABXQWHzh7xWMazOgtKw1bMO0hJS7I4gVjPXFkb/T+QoZ1GFmfzAW3W2JOTdBW zpV85uxAMp8msrtKOoYylfnqiIQb4+5DPUL1PA+OolMgELJjNbqpploxjQeKiFrji9me comw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=7Vp5Vy5j9yM6zzEKiWqAsDsmN6F0gjsulGDFzYzW5ms=; b=HQbh61qU9XYbpEhrbyYdHnn3Jzuzmng9eTXglAeFn8PY9DAMw3v3n4fc4atXi0UBtz chpSd1e7kkyk0DKKiUdOJt6ow1pMNuqmjczn6BRgRuZbidXC70/dEQCorWVzEHR5s6Bn jsyXsdhUXgMwhDErIgOBSFO0ZuIVdNNJy6QJ4hP81wrXH3LkxoxgaX6b2SdHn2yKu43m covqIRjzSbChQCQwzJ6JisNjAs6lCE/YsZ8pm0wssNQHGNi9aC6ThrAQy0ixquAZPRRR bDXzbnKa/2gtJ/F9XYPjSGpeIXOh+IcAGDPSM/UgmPmwQVeCm7L6BjqezrzXwcCu4sih Bkvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="FRdc/pEt"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v13si37058196otr.140.2020.01.07.07.04.13; Tue, 07 Jan 2020 07:04:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="FRdc/pEt"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728261AbgAGPDO (ORCPT + 99 others); Tue, 7 Jan 2020 10:03:14 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:50337 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727814AbgAGPDN (ORCPT ); Tue, 7 Jan 2020 10:03:13 -0500 Received: by mail-pj1-f67.google.com with SMTP id r67so9134289pjb.0; Tue, 07 Jan 2020 07:03:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=7Vp5Vy5j9yM6zzEKiWqAsDsmN6F0gjsulGDFzYzW5ms=; b=FRdc/pEtLxybKATPi0gWX2OnrpPVH/gGawy/tcqojjMjvopFGGM068hu4YFt3qmt8A 6R5y0yJvntjkO8rsWhyzfx23MOZxhzl/6e8Z+UKVVBc1Gihd/WO9l45YcNrgpYi9rKXD tWIIDANUvg28Kn7rZ9lTElzHP9SNKUJwcKPS6+aZR3KuKyMWVSR3aJ2aGRsUgKXN+aRD hUqAoVldM0Wyh88gr372bKNGydSXKln+wJOHPMUw8udR26H1B/JSx3TpR0H+RTBJJfYV huQgd0dDZJWNtdUEMbumFGCV7R864/LXirQdWi2VM5u/CpZOL4tJmLKL4i+gsWM2v2qk /wlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7Vp5Vy5j9yM6zzEKiWqAsDsmN6F0gjsulGDFzYzW5ms=; b=BQgaBnYb372ibzhYZNO5JT0EmwzYVAMBxKhLMHnQBEUNwSsyGw4895KNoXPu3kTkUP +OH5T+6Jk/sZ5YeNpQDrdSp1ZUJ9OxB9FoM6yY+8RrnHkYiSH4b/0Xwv0Vr9uFS7nxe8 KKam3q10BxwV6QFS4A+JryiWb+2GLzizpwjClLTGUw/Yhzj9fPspGdXfS/0RsY5kMTMo zxVUmC0qxfUHs2Gt5tgf/SgH1r1aN2T251PpFO45LXMdwDdHa/L6KQNOceLyvaL4znDq jsSSaLMOhivGx4M0TFmPZ0/FP9avpC1GhjvWv+kO2mBdEh2XqAbgW8C5ffYc4+K3dSmC nhew== X-Gm-Message-State: APjAAAVPTiN5m2ZWBR/sAAbii41lgjJgqnUz4jOlaJziZwmUlEBbqC0N H4u5543H1sStMj+0JThIHNw= X-Received: by 2002:a17:902:654d:: with SMTP id d13mr33352pln.187.1578409392867; Tue, 07 Jan 2020 07:03:12 -0800 (PST) Received: from localhost (199.168.140.36.16clouds.com. [199.168.140.36]) by smtp.gmail.com with ESMTPSA id h3sm35881215pfo.132.2020.01.07.07.03.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Jan 2020 07:03:12 -0800 (PST) From: Dejin Zheng To: davem@davemloft.net, corbet@lwn.net, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, linus.walleij@linaro.org Cc: netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Dejin Zheng Subject: [PATCH] Documentation: networking: device drivers: sync stmmac_mdio_bus_data info Date: Tue, 7 Jan 2020 23:02:54 +0800 Message-Id: <20200107150254.28604-1-zhengdejin5@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Recent changes in the stmmac driver, it removes the phy_reset hook from struct stmmac_mdio_bus_data by commit , and add the member of needs_reset to struct stmmac_mdio_bus_data by commit <1a981c0586c0387>. Signed-off-by: Dejin Zheng --- 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