From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762711AbbA3PZ6 (ORCPT ); Fri, 30 Jan 2015 10:25:58 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:37935 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754582AbbA3PZ4 (ORCPT ); Fri, 30 Jan 2015 10:25:56 -0500 Message-ID: <54CBA273.6010408@ti.com> Date: Fri, 30 Jan 2015 10:25:39 -0500 From: Murali Karicheri User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Mugunthan V N CC: , , , , , , , , , , Subject: Re: [PATCH net-next] drivers: net: cpsw: make cpsw_ale.c a module to allow re-use on Keystone References: <1422573351-5603-1-git-send-email-m-karicheri2@ti.com> <1422573351-5603-2-git-send-email-m-karicheri2@ti.com> <54CB3E53.8050307@ti.com> <54CB5550.1020406@ti.com> In-Reply-To: <54CB5550.1020406@ti.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/30/2015 04:56 AM, Mugunthan V N wrote: > On Friday 30 January 2015 01:48 PM, Mugunthan V N wrote: >> On Friday 30 January 2015 04:45 AM, Murali Karicheri wrote: >>> NetCP on Keystone has cpsw ale function similar to other TI SoCs >>> and this driver is re-used. To allow both ti cpsw and keystone netcp >>> to re-use the driver, convert the cpsw ale to a module and configure >>> it through Kconfig option CONFIG_TI_CPSW_ALE. Currently it is statically >>> linked to both TI CPSW and NetCP and this causes issues when the above >>> drivers are built as dynamic modules. This patch addresses this issue >>> >>> While at it, fix the Makefile and code to build both netcp_core and >>> netcp_ethss as dynamic modules. This is needed to support arm allmodconfig. >>> This also requires exporting of API calls provided by netcp_core so that >>> both the above can be dynamic modules. >>> >>> Signed-off-by: Murali Karicheri >> >> Acked-by: Mugunthan V N >> >> Will try to test this today/Monday. >> >> > > I have tested this on DRA7 platform and passed tested ping. > > Tested-by: Mugunthan V N Mugunthan, Thanks for testing this. Murali > > Regards > Mugunthan V N -- Murali Karicheri Linux Kernel, Texas Instruments