Re: [PATCH net-next 02/19] net: ethernet: ti: cpsw: drop TI_DAVINCI_CPDMA config option

From: Murali Karicheri
Date: Thu Apr 25 2019 - 09:41:05 EST


Jakub,

On 04/23/2019 08:27 PM, Jakub Kicinski wrote:
On Tue, 23 Apr 2019 16:08:53 +0300, Grygorii Strashko wrote:
Both drivers CPSW and EMAC can't work without CPDMA, hence simplify build
of those drivers by always linking davinci_cpdma and drop TI_DAVINCI_CPDMA
config option.
Note. the davinci_emac driver module was changed to "ti_davinci_emac" to
make build work.

Signed-off-by: Grygorii Strashko <grygorii.strashko@xxxxxx>

Last time I tried including the same object file in two different
modules it backfired pretty badly. Would you mind sparing some
details as to why you need to do this?

How did you get to know they backfired? make allmodconfig will catch the issue??

Murali