Re: [PATCH net v3] net: ethernet: ti: fix build and remove TI_CPTS_MOD workaround

2020-05-12 Thread Arnd Bergmann
On Tue, May 12, 2020 at 10:35 AM Grygorii Strashko wrote: > > Hi Arnd, > > On 08/05/2020 14:25, Arnd Bergmann wrote: > > On Fri, May 8, 2020 at 1:14 PM Grygorii Strashko > > wrote: > >> On 08/05/2020 13:10, Arnd Bergmann wrote: > >>> On Fri, May 8, 2020 at 11:59 AM Grygorii Strashko > > > Th

Re: [PATCH net v3] net: ethernet: ti: fix build and remove TI_CPTS_MOD workaround

2020-05-12 Thread Grygorii Strashko
Hi Arnd, On 08/05/2020 14:25, Arnd Bergmann wrote: On Fri, May 8, 2020 at 1:14 PM Grygorii Strashko wrote: On 08/05/2020 13:10, Arnd Bergmann wrote: On Fri, May 8, 2020 at 11:59 AM Grygorii Strashko That's because TI_CPTS_MOD (which is the symbol gating the _compilation_ of cpts.c) now dep

Re: [PATCH net v3] net: ethernet: ti: fix build and remove TI_CPTS_MOD workaround

2020-05-08 Thread Arnd Bergmann
On Fri, May 8, 2020 at 1:14 PM Grygorii Strashko wrote: > On 08/05/2020 13:10, Arnd Bergmann wrote: > > On Fri, May 8, 2020 at 11:59 AM Grygorii Strashko > >> That's because TI_CPTS_MOD (which is the symbol gating the _compilation_ of > >> cpts.c) now depends on PTP_1588_CLOCK, and so is not enab

Re: [PATCH net v3] net: ethernet: ti: fix build and remove TI_CPTS_MOD workaround

2020-05-08 Thread Grygorii Strashko
On 08/05/2020 13:10, Arnd Bergmann wrote: On Fri, May 8, 2020 at 11:59 AM Grygorii Strashko wrote: From: Clay McClure My recent commit b6d49cab44b5 ("net: Make PTP-specific drivers depend on PTP_1588_CLOCK") exposes a missing dependency in defconfigs that select TI_CPTS without selecting

Re: [PATCH net v3] net: ethernet: ti: fix build and remove TI_CPTS_MOD workaround

2020-05-08 Thread Arnd Bergmann
On Fri, May 8, 2020 at 11:59 AM Grygorii Strashko wrote: > > From: Clay McClure > > My recent commit b6d49cab44b5 ("net: Make PTP-specific drivers depend on > PTP_1588_CLOCK") exposes a missing dependency in defconfigs that select > TI_CPTS without selecting PTP_1588_CLOCK, leading to linker erro

[PATCH net v3] net: ethernet: ti: fix build and remove TI_CPTS_MOD workaround

2020-05-08 Thread Grygorii Strashko
From: Clay McClure My recent commit b6d49cab44b5 ("net: Make PTP-specific drivers depend on PTP_1588_CLOCK") exposes a missing dependency in defconfigs that select TI_CPTS without selecting PTP_1588_CLOCK, leading to linker errors of the form: drivers/net/ethernet/ti/cpsw.o: in function `cpsw_nd