On Mon, Apr 30, 2007 at 04:41:32PM +0200, Stefan Roese wrote: > I'm in the stage of integrating an IEEE1588 PTP driver for the AMCC 405EZ PPC > and looking for the correct location to place this driver in the Linux source > tree. The driver is a character-driver that enables the user space > applications to configure the time stamping unit and to read/write the > timestamps.
Could you elaborate your overall concept for this class of drivers? I assume it makes no sense to write an IEEE1588 driver especially for the AMCC chip, because there will probably be a need to support it on any capable hardware; for example the netX has 1588 support for precise timestamping as well and so do others. I'd prefer to discuss the needed functionality first, then find a common set of lowlevel APIs and move most of the IEEE1588 related stuff into userspace. It might also be a good idea to involve the RTnet in this discusson. > Is "drivers/net/ptp" or "drivers/net/ieee1588" a good solution? Or > should it go to "drivers/char/ptp" because of the chrdev nature of the > driver? Please start with discussing the concept, not the names. It might end being a part of the network drivers, without any special directory. Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9 - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html