netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 net-next 0/4] Two new PTP Hardware Clock features
@ 2012-09-22 17:02 Richard Cochran
  2012-09-22 17:02 ` [PATCH V3 net-next 1/4] ptp: remember the adjusted frequency Richard Cochran
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Richard Cochran @ 2012-09-22 17:02 UTC (permalink / raw)
  To: netdev
  Cc: Ben Hutchings, David Miller, Jacob Keller, Jeff Kirsher,
	John Stultz, Matthew Vick

This patch series adds two new features to the PHC code.

* ChangeLog
** V3
   - Use the correct parent device in the solarflare driver.
   - Expand the sysfs documentation of clock_name.
   - Also document the clock_name field in the header file.
** V2 
   - Preserves the clock_name attribute as it was meant to be, instead
     of making any changes to it.
   - Covers the registration API change in the brand new solarflare phc
     device, which was overlooked in V1.

The first two patches let a user program find out the previously
dialed frequency adjustment. This is primarily useful when restarting
a PTP service, since without this information, the presumably correct
adjustment will bias the new frequency estimation.

The third patch links the phc class device to its parent device within
the driver model and sysfs.

The fourth patch adds a bit more documentation of the sysfs clock_name
attribute. This should help clarify the naming scheme.

Thanks,
Richard


Richard Cochran (4):
  ptp: remember the adjusted frequency
  ptp: provide the clock's adjusted frequency
  ptp: link the phc device to its parent device
  ptp: clarify the clock_name sysfs attribute

 Documentation/ABI/testing/sysfs-ptp          |    6 +++++-
 drivers/net/ethernet/freescale/gianfar_ptp.c |    2 +-
 drivers/net/ethernet/intel/igb/igb_ptp.c     |    3 ++-
 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c |    3 ++-
 drivers/net/ethernet/sfc/ptp.c               |    3 ++-
 drivers/net/phy/dp83640.c                    |    2 +-
 drivers/ptp/ptp_clock.c                      |   11 +++++++++--
 drivers/ptp/ptp_ixp46x.c                     |    2 +-
 drivers/ptp/ptp_pch.c                        |    2 +-
 drivers/ptp/ptp_private.h                    |    1 +
 include/linux/ptp_clock_kernel.h             |   11 ++++++++---
 11 files changed, 33 insertions(+), 13 deletions(-)

-- 
1.7.2.5

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

end of thread, other threads:[~2012-09-22 19:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-22 17:02 [PATCH V3 net-next 0/4] Two new PTP Hardware Clock features Richard Cochran
2012-09-22 17:02 ` [PATCH V3 net-next 1/4] ptp: remember the adjusted frequency Richard Cochran
2012-09-22 17:02 ` [PATCH V3 net-next 2/4] ptp: provide the clock's " Richard Cochran
2012-09-22 17:02 ` [PATCH V3 net-next 3/4] ptp: link the phc device to its parent device Richard Cochran
2012-09-22 17:18   ` Ben Hutchings
2012-09-22 17:32   ` Jeff Kirsher
2012-09-22 17:02 ` [PATCH V3 net-next 4/4] ptp: clarify the clock_name sysfs attribute Richard Cochran
2012-09-22 17:20   ` Ben Hutchings
2012-09-22 19:43 ` [PATCH V3 net-next 0/4] Two new PTP Hardware Clock features David Miller

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).