From: Andrew Lunn <andrew@lunn.ch>
To: netdev <netdev@vger.kernel.org>
Cc: Vivien Didelot <vivien.didelot@gmail.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Pavel Machek <pavel@ucw.cz>, Andrew Lunn <andrew@lunn.ch>
Subject: [PATCH RFC RFT net-next 00/10] Modernize mv88e6060 and remove legacy probe
Date: Wed, 30 Jan 2019 01:37:48 +0100 [thread overview]
Message-ID: <20190130003758.23852-1-andrew@lunn.ch> (raw)
The mv88e6060 is the last device using the legacy method of probing an
DSA Ethernet switch. This patchset applies some cleanups to the
driver, and then adds support for probing the device as an MDIO bus
device. The legacy probe is then removed from the driver, and then
from DSA as a whole.
This is compile tested only. Comment and testing welcome.
It should not be merged yet, and one of the patches should go via
arm-soc.
Andrew Lunn (10):
net: dsa: mv88e6xxx: Remove legacy probe support
net: dsa: mv88e6060: Replace ds with priv
net: dsa: mv88e6060: Replace REG_WRITE macro
net: dsa: mv88e6060: Replace REG_READ macro
net: dsa: mv88e6060: Support probing as an mdio device
net: dsa: mv88e6060: Remove support for legacy probing
net: dsa: mv88e6060: Add SPDX header
net: dsa: Remove legacy probing support
arch: arm: dts: Remove disabled marvell,dsa properties
bt-bindings: net: DSA: Remove legacy binding
.../devicetree/bindings/net/dsa/dsa.txt | 155 ----
arch/arm/boot/dts/armada-370-rd.dts | 42 -
arch/arm/boot/dts/armada-388-clearfog.dts | 58 --
arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 47 --
arch/arm/boot/dts/kirkwood-dir665.dts | 47 --
arch/arm/boot/dts/kirkwood-linksys-viper.dts | 47 --
.../arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts | 47 --
arch/arm/boot/dts/kirkwood-rd88f6281.dtsi | 41 -
drivers/net/dsa/Kconfig | 2 +-
drivers/net/dsa/mv88e6060.c | 217 ++---
drivers/net/dsa/mv88e6060.h | 1 +
drivers/net/dsa/mv88e6xxx/chip.c | 71 +-
include/net/dsa.h | 23 -
net/dsa/Kconfig | 9 -
net/dsa/Makefile | 1 -
net/dsa/dsa.c | 5 -
net/dsa/dsa_priv.h | 12 -
net/dsa/legacy.c | 745 ------------------
18 files changed, 121 insertions(+), 1449 deletions(-)
--
2.20.1
next reply other threads:[~2019-01-30 0:39 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-30 0:37 Andrew Lunn [this message]
2019-01-30 0:37 ` [PATCH RFC RFT net-next 01/10] net: dsa: mv88e6xxx: Remove legacy probe support Andrew Lunn
2019-01-30 0:37 ` [PATCH RFC RFT net-next 02/10] net: dsa: mv88e6060: Replace ds with priv Andrew Lunn
2019-01-30 0:37 ` [PATCH RFC RFT net-next 03/10] net: dsa: mv88e6060: Replace REG_WRITE macro Andrew Lunn
2019-01-30 9:24 ` Pavel Machek
2019-01-30 15:42 ` Andrew Lunn
2019-01-30 0:37 ` [PATCH RFC RFT net-next 04/10] net: dsa: mv88e6060: Replace REG_READ macro Andrew Lunn
2019-01-30 0:37 ` [PATCH RFC RFT net-next 05/10] net: dsa: mv88e6060: Support probing as an mdio device Andrew Lunn
2019-01-30 0:37 ` [PATCH RFC RFT net-next 06/10] net: dsa: mv88e6060: Remove support for legacy probing Andrew Lunn
2019-01-30 0:37 ` [PATCH RFC RFT net-next 07/10] net: dsa: mv88e6060: Add SPDX header Andrew Lunn
2019-01-30 0:37 ` [PATCH RFC RFT net-next 08/10] net: dsa: Remove legacy probing support Andrew Lunn
2019-01-30 0:37 ` [PATCH RFC RFT net-next 09/10] arch: arm: dts: Remove disabled marvell,dsa properties Andrew Lunn
2019-01-30 0:37 ` [PATCH RFC RFT net-next 10/10] bt-bindings: net: DSA: Remove legacy binding Andrew Lunn
2019-01-30 9:27 ` [PATCH RFC RFT net-next 00/10] Modernize mv88e6060 and remove legacy probe Pavel Machek
2019-02-06 11:31 ` Gregory CLEMENT
2019-02-06 12:58 ` Andrew Lunn
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=20190130003758.23852-1-andrew@lunn.ch \
--to=andrew@lunn.ch \
--cc=f.fainelli@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=vivien.didelot@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).