Re: [PATCH V12 4/4] ptp: Added a clock driver for the National Semiconductor PHYTER.

2011-03-26 Thread Richard Cochran
On Wed, Mar 23, 2011 at 02:46:25PM -0700, John Stultz wrote: > On Mon, 2011-02-28 at 08:58 +0100, Richard Cochran wrote: > > +static int tdr_write(int bc, struct phy_device *dev, > > +const struct timespec *ts, u16 cmd) > > +{ > > + ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_nsec &

Re: [PATCH V12 4/4] ptp: Added a clock driver for the National Semiconductor PHYTER.

2011-03-23 Thread John Stultz
On Mon, 2011-02-28 at 08:58 +0100, Richard Cochran wrote: > This patch adds support for the PTP clock found on the DP83640. > The basic clock operations and one external time stamp have > been implemented. Just locking rule comment nits here. > +static int tdr_write(int bc, struct phy_device *dev

[PATCH V12 4/4] ptp: Added a clock driver for the National Semiconductor PHYTER.

2011-02-27 Thread Richard Cochran
This patch adds support for the PTP clock found on the DP83640. The basic clock operations and one external time stamp have been implemented. Signed-off-by: Richard Cochran --- drivers/net/phy/Makefile |1 + drivers/net/phy/dp83640.c | 1012 +