From: "Russell King (Oracle)" <linux@armlinux.org.uk>
To: Andrew Lunn <andrew@lunn.ch>, Heiner Kallweit <hkallweit1@gmail.com>
Cc: "Alexandre Belloni" <alexandre.belloni@bootlin.com>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
"Arınç ÜNAL" <arinc.unal@arinc9.com>,
"Claudiu Manoil" <claudiu.manoil@nxp.com>,
"Daniel Golle" <daniel@makrotopia.org>,
"David S. Miller" <davem@davemloft.net>,
"DENG Qingfang" <dqfext@gmail.com>,
"Eric Dumazet" <edumazet@google.com>,
"Florian Fainelli" <f.fainelli@gmail.com>,
"Florian Fainelli" <florian.fainelli@broadcom.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"Landen Chao" <Landen.Chao@mediatek.com>,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
"Matthias Brugger" <matthias.bgg@gmail.com>,
netdev@vger.kernel.org, "Paolo Abeni" <pabeni@redhat.com>,
"Sean Wang" <sean.wang@mediatek.com>,
UNGLinuxDriver@microchip.com,
"Vladimir Oltean" <olteanv@gmail.com>,
"Woojung Huh" <woojung.huh@microchip.com>
Subject: [PATCH net-next 0/3] Remove some unused phylink legacy
Date: Fri, 14 Jul 2023 10:11:31 +0100 [thread overview]
Message-ID: <ZLERQ2OBrv44Ppyc@shell.armlinux.org.uk> (raw)
Hi,
I believe we are now in a position where some of the legacy phylink code
can be removed!
I believe that all DSA drivers do not make use of any pre-March 2020
phylink behaviour - all drivers now seem to set legacy_pre_march2020 to
false, and the conditions that DSA sets it to true are no longer
satisifed by any driver.
Moreover, no one uses the .mac_an_restart() method, so this can also be
removed.
drivers/net/dsa/b53/b53_common.c | 6 -----
drivers/net/dsa/lan9303-core.c | 6 -----
drivers/net/dsa/microchip/ksz_common.c | 2 --
drivers/net/dsa/mt7530.c | 6 -----
drivers/net/dsa/mv88e6xxx/chip.c | 4 ----
drivers/net/dsa/ocelot/felix.c | 6 -----
drivers/net/dsa/qca/qca8k-8xxx.c | 2 --
drivers/net/dsa/sja1105/sja1105_main.c | 6 -----
drivers/net/phy/phylink.c | 22 ++++++++----------
include/linux/phylink.h | 12 ----------
include/net/dsa.h | 3 ---
net/dsa/port.c | 41 ----------------------------------
12 files changed, 9 insertions(+), 107 deletions(-)
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
WARNING: multiple messages have this Message-ID (diff)
From: "Russell King (Oracle)" <linux@armlinux.org.uk>
To: Andrew Lunn <andrew@lunn.ch>, Heiner Kallweit <hkallweit1@gmail.com>
Cc: "Alexandre Belloni" <alexandre.belloni@bootlin.com>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
"Arınç ÜNAL" <arinc.unal@arinc9.com>,
"Claudiu Manoil" <claudiu.manoil@nxp.com>,
"Daniel Golle" <daniel@makrotopia.org>,
"David S. Miller" <davem@davemloft.net>,
"DENG Qingfang" <dqfext@gmail.com>,
"Eric Dumazet" <edumazet@google.com>,
"Florian Fainelli" <f.fainelli@gmail.com>,
"Florian Fainelli" <florian.fainelli@broadcom.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"Landen Chao" <Landen.Chao@mediatek.com>,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
"Matthias Brugger" <matthias.bgg@gmail.com>,
netdev@vger.kernel.org, "Paolo Abeni" <pabeni@redhat.com>,
"Sean Wang" <sean.wang@mediatek.com>,
UNGLinuxDriver@microchip.com,
"Vladimir Oltean" <olteanv@gmail.com>,
"Woojung Huh" <woojung.huh@microchip.com>
Subject: [PATCH net-next 0/3] Remove some unused phylink legacy
Date: Fri, 14 Jul 2023 10:11:31 +0100 [thread overview]
Message-ID: <ZLERQ2OBrv44Ppyc@shell.armlinux.org.uk> (raw)
Hi,
I believe we are now in a position where some of the legacy phylink code
can be removed!
I believe that all DSA drivers do not make use of any pre-March 2020
phylink behaviour - all drivers now seem to set legacy_pre_march2020 to
false, and the conditions that DSA sets it to true are no longer
satisifed by any driver.
Moreover, no one uses the .mac_an_restart() method, so this can also be
removed.
drivers/net/dsa/b53/b53_common.c | 6 -----
drivers/net/dsa/lan9303-core.c | 6 -----
drivers/net/dsa/microchip/ksz_common.c | 2 --
drivers/net/dsa/mt7530.c | 6 -----
drivers/net/dsa/mv88e6xxx/chip.c | 4 ----
drivers/net/dsa/ocelot/felix.c | 6 -----
drivers/net/dsa/qca/qca8k-8xxx.c | 2 --
drivers/net/dsa/sja1105/sja1105_main.c | 6 -----
drivers/net/phy/phylink.c | 22 ++++++++----------
include/linux/phylink.h | 12 ----------
include/net/dsa.h | 3 ---
net/dsa/port.c | 41 ----------------------------------
12 files changed, 9 insertions(+), 107 deletions(-)
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2023-07-14 9:12 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-14 9:11 Russell King (Oracle) [this message]
2023-07-14 9:11 ` [PATCH net-next 0/3] Remove some unused phylink legacy Russell King (Oracle)
2023-07-14 9:12 ` [PATCH net-next 1/3] net: dsa: remove legacy_pre_march2020 detection Russell King (Oracle)
2023-07-14 9:12 ` Russell King (Oracle)
2023-07-14 10:14 ` Florian Fainelli
2023-07-14 10:14 ` Florian Fainelli
2023-07-17 11:02 ` Vladimir Oltean
2023-07-17 11:02 ` Vladimir Oltean
2023-07-14 9:12 ` [PATCH net-next 2/3] net: dsa: remove legacy_pre_march2020 from drivers Russell King (Oracle)
2023-07-14 9:12 ` Russell King (Oracle)
2023-07-14 10:14 ` Florian Fainelli
2023-07-14 10:14 ` Florian Fainelli
2023-07-17 11:03 ` Vladimir Oltean
2023-07-17 11:03 ` Vladimir Oltean
2023-07-14 9:12 ` [PATCH net-next 3/3] net: phylink: remove legacy mac_an_restart() method Russell King (Oracle)
2023-07-14 9:12 ` Russell King (Oracle)
2023-07-14 10:15 ` Florian Fainelli
2023-07-14 10:15 ` Florian Fainelli
2023-07-18 8:00 ` [PATCH net-next 0/3] Remove some unused phylink legacy patchwork-bot+netdevbpf
2023-07-18 8:00 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZLERQ2OBrv44Ppyc@shell.armlinux.org.uk \
--to=linux@armlinux.org.uk \
--cc=Landen.Chao@mediatek.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=andrew@lunn.ch \
--cc=angelogioacchino.delregno@collabora.com \
--cc=arinc.unal@arinc9.com \
--cc=claudiu.manoil@nxp.com \
--cc=daniel@makrotopia.org \
--cc=davem@davemloft.net \
--cc=dqfext@gmail.com \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=florian.fainelli@broadcom.com \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=sean.wang@mediatek.com \
--cc=woojung.huh@microchip.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.