LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Murali Karicheri <m-karicheri2@ti.com>
To: <w-kwok2@ti.com>, <davem@davemloft.net>, <mugunthanvnm@ti.com>,
	<tony@atomide.com>, <prabhakar.csengg@gmail.com>,
	<grygorii.strashko@ti.com>, <lokeshvutla@ti.com>,
	<mpa@pengutronix.de>, <lsorense@csclub.uwaterloo.ca>,
	<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<arnd@arndb.de>
Cc: Murali Karicheri <m-karicheri2@ti.com>
Subject: [PATCH net-next] netcp driver fixes to build as dynamic modules
Date: Thu, 29 Jan 2015 18:15:50 -0500	[thread overview]
Message-ID: <1422573351-5603-1-git-send-email-m-karicheri2@ti.com> (raw)

This patch introduce changes to netcp modules and makefile to build
the driver as dynamic modules. This also convert existing cpsw_ale.c
as a module so that it can be re-used across netcp and ti_cpsw drivers.
This also fixes the issue seen when build using arm allmodconfig
I have made an allmodconfig with this patch and the build succeeds.

 make allmodconfig
 make uImage LOADADDR=0x80008000; make modules

 After the build all of the following .ko files are seen
 
Note: need to verify this on a platform with TI CPSW.

 drivers/net/ethernet/ti/cpsw_ale.ko
 drivers/net/ethernet/ti/davinci_cpdma.ko
 drivers/net/ethernet/ti/davinci_emac.ko
 drivers/net/ethernet/ti/davinci_mdio.ko
 drivers/net/ethernet/ti/keystone_netcp_ethss.ko
 drivers/net/ethernet/ti/keystone_netcp.ko
 drivers/net/ethernet/ti/ti_cpsw.ko
 drivers/net/ethernet/ti/tlan.ko
 
 This also has dependency on the following patches for netcp :-
 [1] https://lkml.org/lkml/2015/1/28/1102
 [2] https://lkml.org/lkml/2015/1/29/881
 [3] https://lkml.org/lkml/2015/1/29/882

Murali Karicheri (1):
  drivers: net: cpsw: make cpsw_ale.c a module to allow re-use on
    Keystone

 drivers/net/ethernet/ti/Kconfig       |   19 +++++++++++++++++--
 drivers/net/ethernet/ti/Makefile      |    8 +++++---
 drivers/net/ethernet/ti/cpsw_ale.c    |   26 ++++++++++++++++++++++++--
 drivers/net/ethernet/ti/netcp_core.c  |    8 ++++++++
 drivers/net/ethernet/ti/netcp_ethss.c |    5 +++++
 5 files changed, 59 insertions(+), 7 deletions(-)

-- 
1.7.9.5


             reply	other threads:[~2015-01-29 23:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-29 23:15 Murali Karicheri [this message]
2015-01-29 23:15 ` [PATCH net-next] drivers: net: cpsw: make cpsw_ale.c a module to allow re-use on Keystone Murali Karicheri
2015-01-29 23:47   ` Arnd Bergmann
2015-01-30 15:39     ` Murali Karicheri
2015-02-02 16:40     ` Tony Lindgren
2015-02-05 22:34       ` Murali Karicheri
2015-02-09 16:41         ` Tony Lindgren
2015-01-30  8:03   ` Lad, Prabhakar
2015-01-30 15:39     ` Murali Karicheri
2015-01-30  8:18   ` Mugunthan V N
2015-01-30  9:56     ` Mugunthan V N
2015-01-30 15:25       ` Murali Karicheri
2015-02-01  1:36   ` 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=1422573351-5603-1-git-send-email-m-karicheri2@ti.com \
    --to=m-karicheri2@ti.com \
    --cc=arnd@arndb.de \
    --cc=davem@davemloft.net \
    --cc=grygorii.strashko@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lokeshvutla@ti.com \
    --cc=lsorense@csclub.uwaterloo.ca \
    --cc=mpa@pengutronix.de \
    --cc=mugunthanvnm@ti.com \
    --cc=netdev@vger.kernel.org \
    --cc=prabhakar.csengg@gmail.com \
    --cc=tony@atomide.com \
    --cc=w-kwok2@ti.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).