From: Joachim Eastwood <manabian@gmail.com>
To: peppe.cavallaro@st.com, davem@davemloft.net, arnd@arndb.de,
b.galvani@gmail.com
Cc: Joachim Eastwood <manabian@gmail.com>, netdev@vger.kernel.org
Subject: [PATCH net-next 0/8] stmmac clean up for 4.3 part1
Date: Fri, 17 Jul 2015 00:26:04 +0200 [thread overview]
Message-ID: <1437085572-11371-1-git-send-email-manabian@gmail.com> (raw)
Hi everyone,
This patch set continues the conversion of the dwmac glue layers
to more proper platform drivers. The first part of the patch set
cleans up stmmac_platform a bit. Refactors code from the common
probe function and exports two functions that will be used in
the dwmac-* drivers.
Second part converts two simple dwmac-* drivers to have their
own probe function and use the exported functions. This brings
us closer to point where stmmac_platform is only a library of
common functions for the dwmac-* drivers to use.
The plan next is:
* add probe functions to the rest of the dwmac-* drivers
* move probe function in stmmac_platform to dwmac-generic
* remove struct stmmac_of_data and let those drivers
that actually need match data handle it themselves
* clean up include/linux/stmmac.h
Note that this patch set has only been tested on lpc18xx so
testing on other platforms is greatly appreciated.
Previous parts can be found here:
http://www.spinics.net/lists/netdev/msg328997.html
http://www.spinics.net/lists/netdev/msg329932.html
Joachim Eastwood (8):
stmmac: use of_device_get_match_data to retrieve of match data
stmmac: clean up platform/of_match data retrieval
stmmac: introduce stmmac_get_platform_resources()
stmmac: make stmmac_probe_config_dt return the platform data struct
stmmac: export probe_config_dt() and get_platform_resources()
stmmac: add proper probe function to dwmac-lpc18xx
stmmac: add proper probe function to dwmac-meson
stmmac: drop custom_* fields from plat_stmmacenet_data
Documentation/networking/stmmac.txt | 4 -
.../net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c | 59 ++++-----
drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c | 31 +++--
.../net/ethernet/stmicro/stmmac/stmmac_platform.c | 136 ++++++++++++---------
.../net/ethernet/stmicro/stmmac/stmmac_platform.h | 8 ++
include/linux/stmmac.h | 2 -
6 files changed, 126 insertions(+), 114 deletions(-)
--
1.8.0
next reply other threads:[~2015-07-16 22:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-16 22:26 Joachim Eastwood [this message]
2015-07-16 22:26 ` [PATCH net-next 1/8] stmmac: use of_device_get_match_data to retrieve of match data Joachim Eastwood
2015-07-16 22:26 ` [PATCH net-next 2/8] stmmac: clean up platform/of_match data retrieval Joachim Eastwood
2015-07-16 22:26 ` [PATCH net-next 3/8] stmmac: introduce stmmac_get_platform_resources() Joachim Eastwood
2015-07-16 22:26 ` [PATCH net-next 4/8] stmmac: make stmmac_probe_config_dt return the platform data struct Joachim Eastwood
2015-07-16 22:26 ` [PATCH net-next 5/8] stmmac: export probe_config_dt() and get_platform_resources() Joachim Eastwood
2015-07-16 22:26 ` [PATCH net-next 6/8] stmmac: add proper probe function to dwmac-lpc18xx Joachim Eastwood
2015-07-16 22:26 ` [PATCH net-next 7/8] stmmac: add proper probe function to dwmac-meson Joachim Eastwood
2015-07-16 22:26 ` [PATCH net-next 8/8] stmmac: drop custom_* fields from plat_stmmacenet_data Joachim Eastwood
2015-07-21 3:46 ` [PATCH net-next 0/8] stmmac clean up for 4.3 part1 David Miller
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=1437085572-11371-1-git-send-email-manabian@gmail.com \
--to=manabian@gmail.com \
--cc=arnd@arndb.de \
--cc=b.galvani@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=peppe.cavallaro@st.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).