[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1422573351-5603-1-git-send-email-m-karicheri2@ti.com>
Date: Thu, 29 Jan 2015 18:15:50 -0500
From: Murali Karicheri <m-karicheri2@...com>
To: <w-kwok2@...com>, <davem@...emloft.net>, <mugunthanvnm@...com>,
<tony@...mide.com>, <prabhakar.csengg@...il.com>,
<grygorii.strashko@...com>, <lokeshvutla@...com>,
<mpa@...gutronix.de>, <lsorense@...lub.uwaterloo.ca>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<arnd@...db.de>
CC: Murali Karicheri <m-karicheri2@...com>
Subject: [PATCH net-next] netcp driver fixes to build as dynamic modules
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists