LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Antoine Tenart <antoine.tenart@bootlin.com>
To: davem@davemloft.net, andrew@lunn.ch, f.fainelli@gmail.com,
hkallweit1@gmail.com
Cc: Antoine Tenart <antoine.tenart@bootlin.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH net-next v2 0/3] net: phy: split the mscc driver
Date: Thu, 12 Mar 2020 23:10:30 +0100 [thread overview]
Message-ID: <20200312221033.777437-1-antoine.tenart@bootlin.com> (raw)
Hello,
This is a proposal to split the MSCC PHY driver, as its code base grew a
lot lately (it's already 3800+ lines). It also supports features
requiring a lot of code (MACsec), which would gain in being split from
the driver core, for readability and maintenance. This is also done as
other features should be coming later, which will also need lots of code
addition.
This series shouldn't change the way the driver works.
I checked, and there were no patch pending on this driver. This change
was done on top of all the modifications done on this driver in net-next.
Thanks,
Antoine
Since v1:
- Moved more definitions into the mscc_macsec.h header.
Antoine Tenart (3):
net: phy: move the mscc driver to its own directory
net: phy: mscc: split the driver into separate files
net: phy: mscc: fix header defines and descriptions
drivers/net/phy/Makefile | 2 +-
drivers/net/phy/mscc/Makefile | 10 +
drivers/net/phy/mscc/mscc.h | 392 +++++
drivers/net/phy/{ => mscc}/mscc_fc_buffer.h | 8 +-
drivers/net/phy/{ => mscc}/mscc_mac.h | 8 +-
drivers/net/phy/mscc/mscc_macsec.c | 1051 +++++++++++++
drivers/net/phy/{ => mscc}/mscc_macsec.h | 66 +-
drivers/net/phy/{mscc.c => mscc/mscc_main.c} | 1469 +-----------------
8 files changed, 1532 insertions(+), 1474 deletions(-)
create mode 100644 drivers/net/phy/mscc/Makefile
create mode 100644 drivers/net/phy/mscc/mscc.h
rename drivers/net/phy/{ => mscc}/mscc_fc_buffer.h (95%)
rename drivers/net/phy/{ => mscc}/mscc_mac.h (98%)
create mode 100644 drivers/net/phy/mscc/mscc_macsec.c
rename drivers/net/phy/{ => mscc}/mscc_macsec.h (90%)
rename drivers/net/phy/{mscc.c => mscc/mscc_main.c} (60%)
--
2.24.1
next reply other threads:[~2020-03-12 22:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-12 22:10 Antoine Tenart [this message]
2020-03-12 22:10 ` [PATCH net-next v2 1/3] net: phy: move the mscc driver to its own directory Antoine Tenart
2020-03-12 22:10 ` [PATCH net-next v2 2/3] net: phy: mscc: split the driver into separate files Antoine Tenart
2020-03-12 22:43 ` David Miller
2020-03-13 8:07 ` Antoine Tenart
2020-03-12 22:10 ` [PATCH net-next v2 3/3] net: phy: mscc: fix header defines and descriptions Antoine Tenart
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=20200312221033.777437-1-antoine.tenart@bootlin.com \
--to=antoine.tenart@bootlin.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--subject='Re: [PATCH net-next v2 0/3] net: phy: split the mscc driver' \
/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
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).