linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* IEEE1588 Precision Time Protocol (PTP) driver for AMCC 405EZ
@ 2007-04-30 14:41 Stefan Roese
  2007-05-01 13:45 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Roese @ 2007-04-30 14:41 UTC (permalink / raw)
  To: netdev; +Cc: linuxppc-dev

Hi all,

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.

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?

Any suggestions welcome (could be that I missed an already existing example).

Best regards,
Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IEEE1588 Precision Time Protocol (PTP) driver for AMCC 405EZ
  2007-04-30 14:41 IEEE1588 Precision Time Protocol (PTP) driver for AMCC 405EZ Stefan Roese
@ 2007-05-01 13:45 ` Robert Schwebel
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Schwebel @ 2007-05-01 13:45 UTC (permalink / raw)
  To: Stefan Roese; +Cc: netdev, Jan Kiszka, linuxppc-dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-01 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-30 14:41 IEEE1588 Precision Time Protocol (PTP) driver for AMCC 405EZ Stefan Roese
2007-05-01 13:45 ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).