Re: [RESEND PATCH -net] cpsw/netcp: cpts depends on posix_timers

2017-03-15 Thread Arnd Bergmann
On Mon, Mar 13, 2017 at 9:51 PM, Nicolas Pitre wrote: > On Mon, 13 Mar 2017, Nicolas Pitre wrote: > >> So unless I'm mistaken I don't see any problem using "depends on >> PTP_1588_CLOCK" here. > > Furthermore that wouldn't be a first. See for example > PTP_1588_CLOCK_GIANFAR, PTP_1588_CLOCK_IXP46X

Re: [RESEND PATCH -net] cpsw/netcp: cpts depends on posix_timers

2017-03-13 Thread Nicolas Pitre
On Mon, 13 Mar 2017, Nicolas Pitre wrote: > So unless I'm mistaken I don't see any problem using "depends on > PTP_1588_CLOCK" here. Furthermore that wouldn't be a first. See for example PTP_1588_CLOCK_GIANFAR, PTP_1588_CLOCK_IXP46X, DP83640_PHY, etc. Nicolas

Re: [RESEND PATCH -net] cpsw/netcp: cpts depends on posix_timers

2017-03-13 Thread Nicolas Pitre
On Mon, 13 Mar 2017, Arnd Bergmann wrote: > On Mon, Mar 13, 2017 at 9:09 PM, Nicolas Pitre > wrote: > > On Mon, 13 Mar 2017, Arnd Bergmann wrote: > > > >> With posix timers having become optional, we get a build error with > >> the cpts time sync option of the CPSW driver: > >> > >> drivers/net/

Re: [RESEND PATCH -net] cpsw/netcp: cpts depends on posix_timers

2017-03-13 Thread Arnd Bergmann
On Mon, Mar 13, 2017 at 9:09 PM, Nicolas Pitre wrote: > On Mon, 13 Mar 2017, Arnd Bergmann wrote: > >> With posix timers having become optional, we get a build error with >> the cpts time sync option of the CPSW driver: >> >> drivers/net/ethernet/ti/cpts.c: In function 'cpts_find_ts': >> drivers/n

Re: [RESEND PATCH -net] cpsw/netcp: cpts depends on posix_timers

2017-03-13 Thread Nicolas Pitre
On Mon, 13 Mar 2017, Arnd Bergmann wrote: > With posix timers having become optional, we get a build error with > the cpts time sync option of the CPSW driver: > > drivers/net/ethernet/ti/cpts.c: In function 'cpts_find_ts': > drivers/net/ethernet/ti/cpts.c:291:23: error: implicit declaration of

[RESEND PATCH -net] cpsw/netcp: cpts depends on posix_timers

2017-03-13 Thread Arnd Bergmann
With posix timers having become optional, we get a build error with the cpts time sync option of the CPSW driver: drivers/net/ethernet/ti/cpts.c: In function 'cpts_find_ts': drivers/net/ethernet/ti/cpts.c:291:23: error: implicit declaration of function 'ptp_classify_raw';did you mean 'ptp_classif