23 Sep, 2012
3 commits
-
PTP Hardware Clock devices appear as class devices in sysfs. This patch
changes the registration API to use the parent device, clarifying the
clock's relationship to the underlying device.Signed-off-by: Richard Cochran
Acked-by: Ben Hutchings
Acked-by: Jeff Kirsher
Signed-off-by: David S. Miller -
If the timex.mode field indicates a query, then we provide the value of
the current frequency adjustment.[ Get rid of extraneous empty lines -DaveM ]
Signed-off-by: Richard Cochran
Signed-off-by: David S. Miller -
This patch adds a field to the representation of a PTP hardware clock in
order to remember the frequency adjustment value dialed by the user.Adding this field will let us answer queries in the manner of adjtimex
in a follow on patch.Signed-off-by: Richard Cochran
Signed-off-by: David S. Miller
08 Sep, 2012
1 commit
-
Initial version by Stuart Hodgson
Some PHC device drivers may deliver PPS events with a significant
and variable delay, but still be able to measure precisely what
that delay is.Add a pps_sub_ts() function for subtracting a delay from the
timestamp(s) in a PPS event, and a PTP event type (PTP_CLOCK_PPSUSR)
for which the caller provides a complete PPS event.Signed-off-by: Ben Hutchings
23 May, 2012
1 commit
-
Pull trivial updates from Jiri Kosina:
"As usual, it's mostly typo fixes, redundant code elimination and some
documentation updates."* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (57 commits)
edac, mips: don't change code that has been removed in edac/mips tree
xtensa: Change mail addresses of Hannes Weiner and Oskar Schirmer
lib: Change mail address of Oskar Schirmer
net: Change mail address of Oskar Schirmer
arm/m68k: Change mail address of Sebastian Hess
i2c: Change mail address of Oskar Schirmer
net: Fix tcp_build_and_update_options comment in struct tcp_sock
atomic64_32.h: fix parameter naming mismatch
Kconfig: replace "--- help ---" with "---help---"
c2port: fix bogus Kconfig "default no"
edac: Fix spelling errors.
qla1280: Remove redundant NULL check before release_firmware() call
remoteproc: remove redundant NULL check before release_firmware()
qla2xxx: Remove redundant NULL check before release_firmware() call.
aic94xx: Get rid of redundant NULL check before release_firmware() call
tehuti: delete redundant NULL check before release_firmware()
qlogic: get rid of a redundant test for NULL before call to release_firmware()
bna: remove redundant NULL test before release_firmware()
tg3: remove redundant NULL test before release_firmware() call
typhoon: get rid of redundant conditional before all to release_firmware()
...
17 May, 2012
2 commits
-
drivers/ptp/ptp_pch.c: In function 'pch_remove':
drivers/ptp/ptp_pch.c:576:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]
drivers/ptp/ptp_pch.c: In function 'pch_probe':
drivers/ptp/ptp_pch.c:587:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration]Signed-off-by: Geert Uytterhoeven
Acked-by: Richard Cochran
Signed-off-by: David S. Miller
22 Apr, 2012
4 commits
-
This patch fixes the driver so that multicast PTP event messages can
be recognized by the hardware time stamping unit. The station address
register must be set according to the desired transport type.[ RC - Rebased Takahiro's changes and wrote a commit message
explaining the changes. ]Signed-off-by: Takahiro Shimizu
Signed-off-by: Richard Cochran
Signed-off-by: David S. Miller -
We will let the pch_gbe code do that according to the receive time stamp
filter.[ RC - Rebased Takahiro's changes and wrote a commit message
explaining the changes. ]Signed-off-by: Takahiro Shimizu
Signed-off-by: Richard Cochran
Signed-off-by: David S. Miller -
The code in phc_gbe_main will need to call this method in order to set the
station address register according to the receive time stamping filter.[ RC - Rebased Takahiro's changes and wrote a commit message
explaining the changes. ]Signed-off-by: Takahiro Shimizu
Signed-off-by: Richard Cochran
Signed-off-by: David S. Miller -
This patch fixes the helper functions that give the transmit and
receive time stamps to return nanoseconds, instead of arbitrary clock
ticks.[ RC - Rebased Takahiro's changes and wrote a commit message
explaining the changes. ]Signed-off-by: Takahiro Shimizu
Signed-off-by: Richard Cochran
Signed-off-by: David S. Miller
16 Apr, 2012
1 commit
-
Correct spelling typo in various Kconfig file.
Signed-off-by: Masanari Iida
Signed-off-by: Jiri Kosina
13 Apr, 2012
1 commit
-
Commit e77bd1ec121ee4163a6b42a44e87b2e382c39e04 added support for a
new ethtool function, but that cannot compile due to a misnamed global
variable. Not that it really matters (since the IXP4xx does compile
either, as of about Linux 3.1) but just in case, this patch fixes the
misnamed variable in the PHC driver.Signed-off-by: Richard Cochran
Signed-off-by: David S. Miller
04 Apr, 2012
2 commits
-
Signed-off-by: Richard Cochran
Signed-off-by: David S. Miller -
This commit adds a method that MAC drivers may call in order to find out
the device number of their associated PTP Hardware Clock.Signed-off-by: Richard Cochran
Signed-off-by: David S. Miller
17 Mar, 2012
1 commit
-
This commit brings the author email address macros up to date for four
modules in the PTP Hardware Clock subsystem.Signed-off-by: Richard Cochran
Signed-off-by: David S. Miller
10 Mar, 2012
2 commits
-
Signed-off-by: David S. Miller
-
Supports EG20T ptp clock in the driver
Changes e-mail address.
Adds number.
Signed-off-by: Takahiro Shimizu
Signed-off-by: David S. Miller
06 Dec, 2011
1 commit
-
The clock_getres() function must return the resolution in the timespec
argument and return 0 for success.Signed-off-by: Thomas Gleixner
Acked-by: John Stultz
Cc: stable@kernel.org
Cc: Richard Cochran
02 Jun, 2011
2 commits
-
In ptp_read there is an unlock missing on an error path, and a double
unlock on another error path.Signed-off-by: Dan Carpenter
Acked-by: Richard Cochran
Signed-off-by: John Stultz -
copy_to_user() returns the number of bytes remaining, but we want a
negative error code in ptp_ioctl.Signed-off-by: Dan Carpenter
Acked-by: Richard Cochran
Signed-off-by: John Stultz
24 May, 2011
4 commits
-
This patch adds support for the PTP clock found on the DP83640.
The basic clock operations and one external time stamp have
been implemented.Signed-off-by: Richard Cochran
Signed-off-by: John Stultz -
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
Acked-by: Arnd Bergmann
Acked-by: David S. Miller
Acked-by: John Stultz
Acked-by: Krzysztof Halasa
Signed-off-by: John Stultz -
The eTSEC includes a PTP clock with quite a few features. This patch adds
support for the basic clock adjustment functions, plus two external time
stamps, one alarm, and the PPS callback.Signed-off-by: Richard Cochran
Acked-by: David S. Miller
Acked-by: John Stultz
Signed-off-by: John Stultz -
This patch adds an infrastructure for hardware clocks that implement
IEEE 1588, the Precision Time Protocol (PTP). A class driver offers a
registration method to particular hardware clock drivers. Each clock is
presented as a standard POSIX clock.The ancillary clock features are exposed in two different ways, via
the sysfs and by a character device.Signed-off-by: Richard Cochran
Acked-by: Arnd Bergmann
Acked-by: David S. Miller
Signed-off-by: John Stultz