[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zb9/O81fVAZw4ANr@shell.armlinux.org.uk>
Date: Sun, 4 Feb 2024 12:12:43 +0000
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Andrew Lunn <andrew@...n.ch>, Heiner Kallweit <hkallweit1@...il.com>
Cc: Alexandre Torgue <alexandre.torgue@...s.st.com>,
bcm-kernel-feedback-list@...adcom.com,
Byungho An <bh74.an@...sung.com>,
Clark Wang <xiaoning.wang@....com>,
"David S. Miller" <davem@...emloft.net>,
Doug Berger <opendmb@...il.com>, Eric Dumazet <edumazet@...gle.com>,
Florian Fainelli <florian.fainelli@...adcom.com>,
Jakub Kicinski <kuba@...nel.org>, Jose Abreu <joabreu@...opsys.com>,
Justin Chen <justin.chen@...adcom.com>,
linux-arm-kernel@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com,
Maxime Coquelin <mcoquelin.stm32@...il.com>, netdev@...r.kernel.org,
NXP Linux Team <linux-imx@....com>, Paolo Abeni <pabeni@...hat.com>,
Shenwei Wang <shenwei.wang@....com>,
Vladimir Oltean <olteanv@...il.com>, Wei Fang <wei.fang@....com>
Subject: [PATCH net-next v2 0/6] net: eee network driver cleanups
Hi,
Since commit d1420bb99515 ("net: phy: improve generic EEE ethtool
functions") changed phylib to set eee->eee_active and eee->eee_enabled,
overriding anything that drivers have set these to prior to calling
phy_ethtool_get_eee().
Therefore, drivers setting these members becomes redundant, since
phylib overwrites the values they set. This series finishes off
Heiner's work in the referenced commit by removing these redundant
writes in various drivers and any associated code or structure members
that become unnecessary.
v2: Address Andrew's comment on fec_main.c
drivers/net/dsa/b53/b53_common.c | 6 ------
drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c | 4 ----
drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c | 5 +++--
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 8 +++-----
drivers/net/ethernet/broadcom/genet/bcmmii.c | 5 +++--
drivers/net/ethernet/freescale/fec_main.c | 4 ----
drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 1 -
drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 2 --
drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c | 1 -
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 2 --
10 files changed, 9 insertions(+), 29 deletions(-)
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists