From mboxrd@z Thu Jan 1 00:00:00 1970 From: john stultz Subject: Re: [PATCH V10 14/15] ptp: Added a clock driver for the IXP46x. Date: Tue, 01 Feb 2011 18:10:49 -0800 Message-ID: <1296612649.3336.213.camel@work-vm> References: <0319138702479bc484596a2b10c681a7d8313b98.1296124770.git.richard.cochran@omicron.at> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Alan Cox , Arnd Bergmann , Christoph Lameter , David Miller , Krzysztof Halasa , Peter Zijlstra , Rodolfo Giometti , Thomas Gleixner , Benjamin Herrenschmidt , "H. Peter Anvin" , Ingo Molnar , Mike Frysinger , Paul Mackerras , Russell King To: Richard Cochran Return-path: In-Reply-To: <0319138702479bc484596a2b10c681a7d8313b98.1296124770.git.richard.cochran-3mrvs1K0uXizZXS1Dc/lvw@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org On Thu, 2011-01-27 at 12:00 +0100, Richard Cochran wrote: > This patch adds a driver for the hardware time stamping unit found on the > IXP465. The basic clock operations and an external trigger are implemented. > > Signed-off-by: Richard Cochran Minor nit below, but otherwise, Acked-by: John Stultz > diff --git a/drivers/ptp/ptp_ixp46x.c b/drivers/ptp/ptp_ixp46x.c > new file mode 100644 > index 0000000..c860030 > --- /dev/null > +++ b/drivers/ptp/ptp_ixp46x.c [snip] > +static int __init ptp_ixp_init(void) > +{ > + if (!cpu_is_ixp46x()) > + return -ENODEV; > + > + ixp_clock.regs = > + (struct ixp46x_ts_regs __iomem *)IXP4XX_TIMESYNC_BASE_VIRT; Minor whitespace issue here