Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754096Ab0H0Otc (ORCPT ); Fri, 27 Aug 2010 10:49:32 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:60999 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751562Ab0H0Ota (ORCPT ); Fri, 27 Aug 2010 10:49:30 -0400 Date: Fri, 27 Aug 2010 16:06:24 +0100 From: Alan Cox To: Richard Cochran Cc: john stultz , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Krzysztof Halasa , Rodolfo Giometti , Arnd Bergmann Subject: Re: [PATCH 1/5] ptp: Added a brand new class driver for ptp clocks. Message-ID: <20100827160624.433b3374@lxorguk.ukuu.org.uk> In-Reply-To: <20100827143437.GB3293@riccoc20.at.omicron.at> References: <363bd749a38d0b785d8431e591bf54c38db4c2d7.1281956490.git.richard.cochran@omicron.at> <20100817085324.GB3330@riccoc20.at.omicron.at> <1282090963.1734.97.camel@localhost> <20100818071942.GA4096@riccoc20.at.omicron.at> <1282176776.2865.100.camel@localhost.localdomain> <20100819055518.GA4084@riccoc20.at.omicron.at> <1282594125.3111.344.camel@localhost.localdomain> <20100827123849.GC11657@riccoc20.at.omicron.at> <20100827143844.646eccf6@lxorguk.ukuu.org.uk> <20100827143437.GB3293@riccoc20.at.omicron.at> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.9; x86_64-redhat-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEWysKsSBQMIAwIZCwj///8wIhxoRDXH9QHCAAABeUlEQVQ4jaXTvW7DIBAAYCQTzz2hdq+rdg494ZmBeE5KYHZjm/d/hJ6NfzBJpp5kRb5PHJwvMPMk2L9As5Y9AmYRBL+HAyJKeOU5aHRhsAAvORQ+UEgAvgddj/lwAXndw2laEDqA4x6KEBhjYRCg9tBFCOuJFxg2OKegbWjbsRTk8PPhKPD7HcRxB7cqhgBRp9Dcqs+B8v4CQvFdqeot3Kov6hBUn0AJitrzY+sgUuiA8i0r7+B3AfqKcN6t8M6HtqQ+AOoELCikgQSbgabKaJW3kn5lBs47JSGDhhLKDUh1UMipwwinMYPTBuIBjEclSaGZUk9hDlTb5sUTYN2SFFQuPe4Gox1X0FZOufjgBiV1Vls7b+GvK3SU4wfmcGo9rPPQzgIabfj4TYQo15k3bTHX9RIw/kniir5YbtJF4jkFG+dsDK1IgE413zAthU/vR2HVMmFUPIHTvF6jWCpFaGw/A3qWgnbxpSm9MSmY5b3pM1gvNc/gQfwBsGwF0VCtxZgAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1787 Lines: 47 > Sorry for causing confusion, but please understand "a hardware clock > with timestamping capabilities than can be used for PTP support" > whenever I wrote "PTP" or "PTP clock." Ok that makes sense. > > Well, what I just said is not entirely true. > most are bound to the PTP protocol. That may change in the future... Which seems fine to me too - its an implementation detail of that time source. > > Specialist applications will presumably need to know which time source or > > sources they are tracking and synchronizing too out of multiple potential > > PTP sources > > Yes, the PTPd will have some special knowledge. Not only that but consumers of different time synchronizations will need to be able to describe which time source they want to talk about from a selection of PTP or similar things. > > system time bimble track a source makes sense just as with NTP but making > > it a new clock seems the wrong model extending a non-too-bright API when > > you can just put the time sources in a file tree. > > Don't get your meaning here, what did you mean by "file tree?" Something like /sys/class/timesource//... at which point we don't have to enumerate them all, add special system calls and then fret about the fact you can't access them from things like shell scripts. The fact SYS5.4 Unix and SuS got obsessed with numbering things rather than using names unlike Unix doesn't mean it's the right model to number them - usually the reverse is true, a heirarchy of file names is rather more future proof. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/