RE: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-27 Thread Rafal Ozieblo
>-Original Message- >From: Nicolas Ferre [mailto:nicolas.fe...@atmel.com] >Sent: 27 stycznia 2017 11:28 >Subject: Re: [PATCH net-next v2] macb: Common code to enable ptp support for >MACB/GEM > >Le 27/01/2017 à 11:26, Rafal Ozieblo a écrit : >>> -

RE: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-27 Thread Rafal Ozieblo
>-Original Message- >From: Nicolas Ferre [mailto:nicolas.fe...@atmel.com] >Sent: 27 stycznia 2017 11:28 >Subject: Re: [PATCH net-next v2] macb: Common code to enable ptp support for >MACB/GEM > >Le 27/01/2017 à 11:26, Rafal Ozieblo a écrit : >>> -

Re: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-27 Thread Nicolas Ferre
Le 27/01/2017 à 11:26, Rafal Ozieblo a écrit : >> -Original Message- >> From: Harini Katakam [mailto:harinikatakamli...@gmail.com] >> Sent: 27 stycznia 2017 06:43 >> Subject: Re: [PATCH net-next v2] macb: Common code to enable ptp support for >> MACB/GEM >

Re: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-27 Thread Nicolas Ferre
Le 27/01/2017 à 11:26, Rafal Ozieblo a écrit : >> -Original Message- >> From: Harini Katakam [mailto:harinikatakamli...@gmail.com] >> Sent: 27 stycznia 2017 06:43 >> Subject: Re: [PATCH net-next v2] macb: Common code to enable ptp support for >> MACB/GEM >

RE: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-27 Thread Rafal Ozieblo
>-Original Message- >From: Harini Katakam [mailto:harinikatakamli...@gmail.com] >Sent: 27 stycznia 2017 06:43 >Subject: Re: [PATCH net-next v2] macb: Common code to enable ptp support for >MACB/GEM > >Hi Rafal, > >On Thu, Jan 26, 2017 at 8:45 PM, Rafal Ozieblo

RE: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-27 Thread Rafal Ozieblo
>-Original Message- >From: Harini Katakam [mailto:harinikatakamli...@gmail.com] >Sent: 27 stycznia 2017 06:43 >Subject: Re: [PATCH net-next v2] macb: Common code to enable ptp support for >MACB/GEM > >Hi Rafal, > >On Thu, Jan 26, 2017 at 8:45 PM, Rafal Oziebl

Re: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-27 Thread Nicolas Ferre
tycznia 2017 16:56 >>> Subject: [PATCH net-next v2] macb: Common code to enable ptp support for >>> MACB/GEM >>> >>> >>> +static inline bool gem_has_ptp(struct macb *bp) >>> +{ >>> + return !!(bp->caps & MACB_CAPS_GEM_HAS_PTP);

Re: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-27 Thread Nicolas Ferre
Le 27/01/2017 à 06:42, Harini Katakam a écrit : > Hi Rafal, > > On Thu, Jan 26, 2017 at 8:45 PM, Rafal Ozieblo wrote: >>> -Original Message- >>> From: Andrei Pistirica [mailto:andrei.pistir...@microchip.com] >>> Sent: 19 stycznia 2017 16:56 >>&

Re: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-26 Thread Harini Katakam
Hi Rafal, On Thu, Jan 26, 2017 at 8:45 PM, Rafal Ozieblo <raf...@cadence.com> wrote: >> -Original Message- >> From: Andrei Pistirica [mailto:andrei.pistir...@microchip.com] >> Sent: 19 stycznia 2017 16:56 >> Subject: [PATCH net-next v2] macb: Common code to e

Re: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-26 Thread Harini Katakam
Hi Rafal, On Thu, Jan 26, 2017 at 8:45 PM, Rafal Ozieblo wrote: >> -Original Message- >> From: Andrei Pistirica [mailto:andrei.pistir...@microchip.com] >> Sent: 19 stycznia 2017 16:56 >> Subject: [PATCH net-next v2] macb: Common code to enable ptp

RE: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-26 Thread Rafal Ozieblo
> -Original Message- > From: Andrei Pistirica [mailto:andrei.pistir...@microchip.com] > Sent: 19 stycznia 2017 16:56 > Subject: [PATCH net-next v2] macb: Common code to enable ptp support for > MACB/GEM > > > +static inline bool gem_has_ptp(struct macb *bp) &

RE: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-26 Thread Rafal Ozieblo
> -Original Message- > From: Andrei Pistirica [mailto:andrei.pistir...@microchip.com] > Sent: 19 stycznia 2017 16:56 > Subject: [PATCH net-next v2] macb: Common code to enable ptp support for > MACB/GEM > > > +static inline bool gem_has_ptp(struct macb *bp) &

Re: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-25 Thread Harini Katakam
On Wed, Jan 25, 2017 at 2:56 PM, Nicolas Ferre wrote: > Le 19/01/2017 à 17:07, Nicolas Ferre a écrit : >> Le 19/01/2017 à 08:56, Andrei Pistirica a écrit : >>> This patch does the following: >>> - MACB/GEM-PTP interface >>> - registers and bitfields for TSU >>> -

Re: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-25 Thread Harini Katakam
On Wed, Jan 25, 2017 at 2:56 PM, Nicolas Ferre wrote: > Le 19/01/2017 à 17:07, Nicolas Ferre a écrit : >> Le 19/01/2017 à 08:56, Andrei Pistirica a écrit : >>> This patch does the following: >>> - MACB/GEM-PTP interface >>> - registers and bitfields for TSU >>> - capability flags to enable PTP

Re: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-25 Thread Nicolas Ferre
Le 19/01/2017 à 17:07, Nicolas Ferre a écrit : > Le 19/01/2017 à 08:56, Andrei Pistirica a écrit : >> This patch does the following: >> - MACB/GEM-PTP interface >> - registers and bitfields for TSU >> - capability flags to enable PTP per platform basis >> >> Signed-off-by: Andrei Pistirica

Re: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-25 Thread Nicolas Ferre
Le 19/01/2017 à 17:07, Nicolas Ferre a écrit : > Le 19/01/2017 à 08:56, Andrei Pistirica a écrit : >> This patch does the following: >> - MACB/GEM-PTP interface >> - registers and bitfields for TSU >> - capability flags to enable PTP per platform basis >> >> Signed-off-by: Andrei Pistirica > >

Re: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-19 Thread Nicolas Ferre
Le 19/01/2017 à 08:56, Andrei Pistirica a écrit : > This patch does the following: > - MACB/GEM-PTP interface > - registers and bitfields for TSU > - capability flags to enable PTP per platform basis > > Signed-off-by: Andrei Pistirica Acked-by: Nicolas Ferre

Re: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-19 Thread Nicolas Ferre
Le 19/01/2017 à 08:56, Andrei Pistirica a écrit : > This patch does the following: > - MACB/GEM-PTP interface > - registers and bitfields for TSU > - capability flags to enable PTP per platform basis > > Signed-off-by: Andrei Pistirica Acked-by: Nicolas Ferre Thanks, regards, > --- > Patch

[PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-19 Thread Andrei Pistirica
This patch does the following: - MACB/GEM-PTP interface - registers and bitfields for TSU - capability flags to enable PTP per platform basis Signed-off-by: Andrei Pistirica --- Patch history: Version 1: This is just the common code for MACB/GEM-PTP support. Code

[PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-19 Thread Andrei Pistirica
This patch does the following: - MACB/GEM-PTP interface - registers and bitfields for TSU - capability flags to enable PTP per platform basis Signed-off-by: Andrei Pistirica --- Patch history: Version 1: This is just the common code for MACB/GEM-PTP support. Code is based on the comments