Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/nwtime/linuxptp

Linux PTP Project
https://github.com/nwtime/linuxptp

port: Don't renew raw transport.

Renewing of the transport on announce/sync timeout is needed in the
client-only mode to avoid ge...

6df84259647757bc53818a039734f8ff85618c02 authored over 3 years ago by Miroslav Lichvar <[email protected]>
clock: Reset state when switching port with same best clock.

When the best port is changed, but the ID of the best clock doesn't
change (e.g. a passive port ...

7e8eba5332671abfd95d06dd191059eded1d2cca authored over 3 years ago by Miroslav Lichvar <[email protected]>
port: Don't check timestamps from non-slave ports.

Don't perform the sanity check on receive timestamps from ports in
non-slave states to avoid fal...

e117e37e379556fa23337db2518bb44d8793e039 authored over 3 years ago by Miroslav Lichvar <[email protected]>
Increase the default tx_timestamp_timeout to 10

The tx_timestamp_timeout configuration defines the number of
milliseconds to wait for a Tx times...

1a2dfe9b00b79a59acf905476bbc33c74d5770a3 authored over 3 years ago by Jacob Keller <[email protected]>
ts2phc: Add serial baudrate option

Add serial baudrate configuration option. Default to 9600 bps.

Signed-off-by: Lars Munch <lars@...

47c9a2d35d567e7f4e87d2c01872fa1cce3c20b2 authored over 3 years ago by Lars Munch <[email protected]>
ts2phc: Update leapfile documentation

Update leapfile documentation to note the file will be
reloaded if modified.

Signed-off-by: Lar...

bf4eee2aab9832023c542a38c16ee1b5939167f3 authored over 3 years ago by Lars Munch <[email protected]>
ts2phc: Close socket on peer shutdown

Read returns 0 (the traditional "end-of-file" return) when a remote
peer performs an orderly shu...

74c4bada36cd58656ca0a83280e40dee4b8cb26e authored over 3 years ago by Lars Munch <[email protected]>
ts2phc: Fix uninitialized variable in nmea_scan_rmc

tm_isdst needs to be initialized to make sure mktime does not fail
on recent versions of glibc

...

63fc1ef4fd5e5fc45dd4de3bf27920bb109a4357 authored over 3 years ago by Lars Munch <[email protected]>
Validate the messageLength field of incoming messages.

The PTP messageLength field is redundant because the length of a PTP
message is precisely determ...

a1e63aa3a7304647913707c4df01f3df430806ab authored over 3 years ago by Richard Cochran <[email protected]>
tc: Fix length of follow-up message of one-step sync.

Convert the length of the generated follow-up message to network order.
This fixes reading and s...

d61d77e163dbee247819f3d88593ba111577af15 authored over 3 years ago by Miroslav Lichvar <[email protected]>
Log optimization for ptp4l in jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

The port other than SLAVE (LISTENING port) prints an error
"port 1: master state recommended in ...

766baf345cd4fb025d186f9c9bea5276aba398bc authored over 3 years ago by Amar Subramanyam via Linuxptp-devel <[email protected]>
Log optimization for ptp4l in jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

The LISTENING port prints continuously
"selected best master clock 000000.0000.000003
updating U...

3399fa15ae28610c1b288b573c4233a42c48f762 authored over 3 years ago by Amar Subramanyam via Linuxptp-devel <[email protected]>
Add master only management TLV

- Add support in the pmc tool
- Add the TLV in port module.

Signed-off-by: Erez Geva <erez.geva...

1666c5c6003ea571d81ba8f1345e3140d8a92129 authored over 3 years ago by Erez Geva <[email protected]>
Set domainNumber for telecom examples

Set the default domain numbers according to the ITU-T standards

Signed-off-by: Lars Munch <lars...

e3939f4636826b726179117042205e013c5a71fd authored over 3 years ago by Lars Munch <[email protected]>
Fix SLAVE_ONLY TLV

According to IEEE 1588 The slave only flag in the SLAVE_ONLY TLV
is bit 0 and not bit 1 as in t...

f3290eee8567f957b8c61c2d39ee618bc7ccffb1 authored over 3 years ago by Erez Geva <[email protected]>
Prevent client ports getting stuck in the UNCALIBRATED state.

When using the 'servo_offset_threshold' configuration option, the
internal servo state will tran...

275437ad8b1ec1be4a9cdbb943e01eec0a9d165f authored over 3 years ago by Richard Cochran <[email protected]>
tlv: Fix coding style.

Use reverse Christmas tree style in mgt_post_recv and _pre_send.

Signed-off-by: Richard Cochran...

ef9ba9489c2f664ea34e5e4dbddbb76cddef5254 authored almost 4 years ago by Richard Cochran <[email protected]>
Ensure TLV_PORT_STATS_NP statistics uses little endian.

As machine byte order may vary.
Ensure TLV_PORT_STATS_NP statistics use defined order.

As most ...

5b4b623edefcf752a4284cba6aa4ff6296223455 authored almost 4 years ago by Erez Geva <[email protected]>
Avoid undefined integer operations.

This fixes errors reported by the -fsanitize=undefined sanitizer.

Before accepting the message ...

68eb7cd4e8406fb653cd1356f5f989159d54b6e9 authored almost 4 years ago by Miroslav Lichvar <[email protected]>
pmc: Fix printed totalCorrectionField.

The value needs to be shifted to right to get nanoseconds.

Signed-off-by: Miroslav Lichvar <mli...

efab29682c7d752db018e75e51fd653caa7d629f authored almost 4 years ago by Miroslav Lichvar <[email protected]>
Revert "phc2sys: Expand the validation of the PPS mode."

Allow the -s option to be used together with the -d option again. The
PHC is used in the PPS mod...

7e98d764c3c8c41e76d0387a620b737a666c0484 authored almost 4 years ago by Miroslav Lichvar <[email protected]>
Avoid unaligned pointers to packed members.

This fixes "taking address of packed member ... may result in an
unaligned pointer value [-Waddr...

25dcf01e340d85bcdbe7b3c24eac7fe1ce7ea0c2 authored almost 4 years ago by Miroslav Lichvar <[email protected]>
Revert "phc2sys: Ensure PHC source when using PPS mode."

Commit 3c083f4503ab claims to fix a null pointer de-reference.
However, that particular bug had ...

25d2404c71c18b04e078129cecd8b48457e7bf0e authored almost 4 years ago by Richard Cochran <[email protected]>
phc_ctl: Fix incorrect memset in do_cmp()

Both 'rta' and 'rtb' are not properly initialized to zero.

Fixed this by assigning to correct a...

a62f80440e3bd216bbacfeb7f3cc4bfdb9b80070 authored almost 4 years ago by Wong Vee Khee <[email protected]>
Fix --initial_delay for automotive profile

Signed-off-by: Marcin Miklas <[email protected]>

a5fdb9d50162d6f6708bc6d80ebcb31c11361a5a authored almost 4 years ago by Marcin Miklas <[email protected]>
Update man page to reflect the new serverOnly option.

Signed-off-by: Richard Cochran <[email protected]>

6bee6ce1ccedd694f99cedbd9c3c7e89302138bb authored almost 4 years ago by Richard Cochran <[email protected]>
Convert the example configuration files over to the new serverOnly option.

Signed-off-by: Richard Cochran <[email protected]>

46b03e65f8662f7074a58467e0ba00b0b763963f authored almost 4 years ago by Richard Cochran <[email protected]>
Deprecate the masterOnly option in favor of serverOnly.

Signed-off-by: Richard Cochran <[email protected]>

c46260a78db38cee29c4908e8d958d9b9bfd7d5b authored almost 4 years ago by Richard Cochran <[email protected]>
Bump to IEEE 1588-2019 version

IEEE 1588-2019 specified new UInteger4 type minorVersionPTP field
in header, and minorVersionNum...

2a2532d66121d0060b042c5bd6020a62153f1e0a authored almost 4 years ago by Yangbo Lu <[email protected]>
Clock Class Threshold Feature addition for PTP4L

This code changes brings in the ability to program the acceptable
clockClass threshold beyond wh...

f774703cb1eee058a346aec3341fee0be329bd6d authored almost 4 years ago by Karthikkumar V <[email protected]>
sk: Don't return error for zero-length messages.

The recvmsg() call can return zero for a zero-length UDP message, which
should be handled as a b...

9633ab52460f58c92c6daa35e9d24e4ce9c5ab1c authored almost 4 years ago by Miroslav Lichvar <[email protected]>
clock: Introduce step_window to free run x Sync events after a clock step.

When clock stepping is unable to happen instantaneously the subsequent
timestamps after a clock ...

53f22b459d3cee64704d52ae5764ea8046ec439b authored almost 4 years ago by Vincent Cheng <[email protected]>
timemaster: Set uds_ro_address for ptp4l instances.

This prevents conflicts on the new UDS-RO port.

Signed-off-by: Miroslav Lichvar <mlichvar@redha...

27fa246a79f014c505b720b514cf7bff4b1c5e5d authored almost 4 years ago by Miroslav Lichvar <[email protected]>
clock: Add read-only UDS port for monitoring.

Add a second UDS port to allow untrusted applications to monitor ptp4l.
On this "read-only" UDS ...

6823e077b2466dcc3c7cbce8ab384b0ef9a62811 authored almost 4 years ago by Miroslav Lichvar <[email protected]>
port: Don't assume transport from port number.

In port_open(), don't assume that UDS ports always have to have a zero
number. Check the transpo...

57ec8357dcd356701ae0bdc2f176233668ba8418 authored almost 4 years ago by Miroslav Lichvar <[email protected]>
port: Ignore non-management messages on UDS port.

Drop non-management messages on the UDS port early in the processing to
prevent them from changi...

1e2b63c55f8366aed4689198350a11e4ed6c95ab authored almost 4 years ago by Miroslav Lichvar <[email protected]>
clock: Rename UDS variables to read-write.

In preparation for a new read-only UDS port, rename variables of the
current UDS port to make it...

1b781a5a086571859b0cfba687706d8fdc764d7f authored almost 4 years ago by Miroslav Lichvar <[email protected]>
clock: Don't allow COMMAND action on non-UDS port.

No COMMAND actions are currently supported, but check the port early in
clock_manage() before re...

942cf52b75a0bbcc16392636dc0ee0862e84ad41 authored almost 4 years ago by Miroslav Lichvar <[email protected]>
Implement push notification for TIME_STATUS_NP

Subscribers to NOTIFY_TIME_SYNC will be notified on every clock
synchronization.

[ RC:
- Don...

6d7c090706e76af334185ffcec9cc56d0570e215 authored almost 4 years ago by Juergen Werner <[email protected]>
tlv: Fix byte reordering in ScaledNs

A typo caused the loss of the information in field "nanoseconds_lsb" in
ScaledNs struct during p...

63f8b012e682e3d59791edba4945f42837932024 authored almost 4 years ago by Juergen Werner <[email protected]>
Improve port-related log messages.

Previously, only the logical port number was emitted for most
port-related log messages. Now, th...

e224c4af78ab9581afa8f3cb3cf409066049b439 authored almost 4 years ago by Cliff Spradlin via Linuxptp-devel <[email protected]>
port: Cache display name for logs.

Adds a string to the port struct that can easily identify a port.
This is intended to be used in...

d25ec04b9958e790fea1a0bf32fa32df7a3ec37b authored almost 4 years ago by Cliff Spradlin via Linuxptp-devel <[email protected]>
Check for deprecated "long" options on the command line.

The slaveOnly and masterOnly options will be deprecated in favor of
clientOnly and serverOnly, r...

a1cd870acd06284dc24be7c009dfdb75d4e24a76 authored almost 4 years ago by Richard Cochran <[email protected]>
Update man pages to reflect the new clientOnly option.

Signed-off-by: Richard Cochran <[email protected]>

f7f6edf830ddfb1196ff57935bf40dd51a129faa authored almost 4 years ago by Richard Cochran <[email protected]>
Deprecate the slaveOnly option in favor of clientOnly.

Signed-off-by: Richard Cochran <[email protected]>

fe01cc7c964296321e3c0de2412ef3f1282fa774 authored almost 4 years ago by Richard Cochran <[email protected]>
Convert the example configuration files over to the new clientOnly option.

Signed-off-by: Richard Cochran <[email protected]>

4c3b99b72052254e3fad2915be3bc4bfaff10a39 authored almost 4 years ago by Richard Cochran <[email protected]>
lstab: Bring expiration up to date.

Bring the built in leap second table up to date through IERS Bulletin C61.
No new leap s...

415b4628ecd2bf8b7de95c564e43bb0092047543 authored almost 4 years ago by Nikhil Gupta <[email protected]>
util: add SIGHUP handling

In the era of remote work the different terminal connections are used for
testing and debugging ...

16526e68ea552c03e233ea6d9c4a8fe0a7f6deb7 authored almost 4 years ago by Grygorii Strashko <[email protected]>
port: Fix link down/up to continue using phc_index set from command line -p option.

In the scenario where a port link goes down and up, current code checks
the port's phc_index aga...

d95f4cd6e4a7c6c51a220c58903110a2326885e7 authored about 4 years ago by Vincent Cheng <[email protected]>
ts2phc: Convert usage message to time source/sink terminology.

Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...

d660712d3fef61719367b5f62ebfbda2207f4a23 authored about 4 years ago by Richard Cochran <[email protected]>
ptp4l: Convert usage messages to client/server terminology.

Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...

3e6028241ac2c51a738c9c181aa1c23931eab4a4 authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Convert usage messages to time source/sink terminology.

Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...

7dd0c1179f57e9fee7eae855a52a6aba5b15864f authored about 4 years ago by Richard Cochran <[email protected]>
ts2phc: Convert man page to source/sink terminology.

Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...

391a1f65b48a6a3840db3faa3e15fdb184b56a81 authored about 4 years ago by Richard Cochran <[email protected]>
ptp4l: Convert man page to client/server terminology.

Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...

70a1b56e596ffe2a3598fd65737b6dde5b4e9ef9 authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Convert man page to client/server terminology.

Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...

9388f11fbaffbef108a5685ec9100641ed8d38be authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Convert man page to source/sink terminology.

Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...

6ccafeef47d2e496c26fea6c9bc4d0229f50a84b authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Update man page to reflect the new restriction on the PPS mode.

Signed-off-by: Richard Cochran <[email protected]>

f888b57789fd603782458f2e607bcf8439d5688a authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Ensure PHC source when using PPS mode.

Using the mode PPS without a PHC source causes a segfault in strdup()
in the clock_add() functio...

3c083f4503ab69b3b9798c6c93d3cbccdc92f9ad authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: fix BC sync fault when port in uncalibrated state

The ptp4l/phc2sys BC can stuck in sync fault while port is in transitional
UNCALIBRATED state:
...

67e37b7b70f4b6f9250aed1c061ae242e8f8138c authored about 4 years ago by Grygorii Strashko <[email protected]>
phc2sys: add dbg print for clock state change events

Add dbg print about clock state change events in clock_reinit() in the
form:
pru10: state ch...

9b57b14bd407b3f5b90905cfaaee24ae18745718 authored about 4 years ago by Grygorii Strashko <[email protected]>
Update the unicast subscriptions when the GM changes.

Normally ptp4l will update the unicast subscriptions based on changes
in port state. However, w...

df67b1cbe0eee2ee48a8334423eb4341a677c6f9 authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Fix regression in the automatic mode.

Commit ac7d69bbc476 ("pmc_agent: Convert the method that queries the
port properties.") had the ...

0fb1be2f5c4d6905f33a2b1c31e7496d52296748 authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Let the update method poll for push events.

Signed-off-by: Richard Cochran <[email protected]>

c4a5eef1f4763805e6e2a2d25eb1d436018d4745 authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Simplify the main loop.

Now that the PMC agent update method polls for port state notifications,
there is no need to cal...

f7ff879ac19ce46ebf2787d035050dbfce3d3e23 authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Remove an obsolete method.

The one and only call site of run_pmc_events() has been eliminated.
Remove the unused code.

Sig...

f6abdcdd3742fd8cf3c7ae084c3509d8f6bbc188 authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Move static configuration to its own subroutine.

This will help to simplify the consolidation of the automatic and
manual modes.

Signed-off-by: ...

fd33ed1bb8d83a04e445d356601c927f1cffa42a authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Replace yet another magical test with a proper test.

In the manual wait mode, if the system clock is not being used, the
program closes the PMC agent...

046fc05dc8b877013c977bb0ea2d76b84be4b0a4 authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Replace magical test with a proper test.

When using a PPS time source with the -w flag, the program closes the PMC
agent's connection onc...

5f1b419c4102ed925b2bfa1d8519b214c322877d authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Expand the validation of the PPS mode.

When using a PPS time source, the PHC character device or network interface
specified using the ...

228325c1bda4493744e8df7b2eb8ad1ad11dc373 authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Validate the PPS mode right away.

When using a PPS time source, the code only checks the destination
clock after performing much s...

1d41687f56068f196960f590c42afbf48808b5ca authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Replace hard coded tests with a readable helper function.

The main program determines whether a PPS device is the time source
with an open-coded test for ...

c2d6822e36de4e11f8d257bf5763290a4cb82688 authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Rename PMC agent pointer from node to agent.

Node is not a very descriptive name. Rename it.

Signed-off-by: Richard Cochran <richardcochran...

ff8776ebe3f4e0bb1c44e4b12c8610886ed15775 authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Don't duplicate the command line arguments.

The names of the source and destination clocks are generated by
duplicating command line argumen...

c9067b18dfd80140c1affef6856fcc2f8ac93440 authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Generalize the method that queries the local clock identity.

When started in automatic mode, the phc2sys program first queries the
local clock identification...

919703eb06b7ee9679308597e01e1da0162736d7 authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Convert the method that queries the port properties.

Prefix the function with the module name and correct the return code
semantics.

The active word...

ac7d69bbc476b94d76e5cee4992b9682f003feaf authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Simplify the method that gets of the number of local ports.

The number of ports is already available in the cached default data
set. Use it directly.

Sign...

6bc9eb81dd254d90b5fe059684271b9beebf6b9b authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Convert the method that queries TAI-UTC offset into the canonical form.

This patch renames the function to have the module prefix and corrects the
return code semantics...

943c8f51c56acb72277d1a9459bbf7b7a5ac5fe7 authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: Fix null pointer de-reference in manual mode.

If both the -w and -O command line options are specified (or when
using -w when both source and ...

68fd0b010e9761e3dc580026eb6f2366c7c8e82d authored about 4 years ago by Richard Cochran <[email protected]>
Update the description of the time_stamping configuration option.

The man page lists only three of the five possible values. Add the two
missing ones to the list...

09612b52be3e6d898d6b2e404d73dcfe10cd21c8 authored about 4 years ago by Richard Cochran <[email protected]>
rtnl: Fix trivial spelling error in the name of a helper function.

Signed-off-by: Richard Cochran <[email protected]>

a81f293af2adfd1cdf3f25b08ee7452f10503aab authored about 4 years ago by Richard Cochran <[email protected]>
Avoid setting clock frequency when free running.

The "free_running" configuration option is meant to allow running the
software without actually ...

6fea40606f7975f3f9e10505a189626b3655173b authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Rename the update method and attempt to document it.

This patch renames the function to have the module prefix and tries to
put into words what it do...

9a2dae984e0d355d751913e3308f9a954da11aa3 authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Perform time comparison using positive logic.

In the update_pmc_node() method, reduce the expression
!(x < y) to (x >= y).

While we're at it,...

fb92fec7cef9ee3345950c2633a7781b8bd3ca08 authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Remove bogus comparison between last update and now.

The monotonic clock can never go backwards. If you take T1 and later T2
from that clock, then (...

2f2f7fc5881a88295350430edaf4505dc03b1602 authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Simplify logic in update method.

If the pmc pointer is not set, then there is no need to read the time only
to later discard the ...

956b7eeb8247e3f0658b1205dfd3bea3e1011ee2 authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Simplify the update method.

The main method that causes the PMC agent to update its status takes a flag
that results in diff...

1126f8f67e853199f05a7c993c910ebc7807bd3d authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Convert the subscribe method into the canonical form.

This patch renames the function to have the module prefix and corrects the
return code semantics...

cc98d39f58adc1fd05db0038acfdcc5669f2ba8c authored about 4 years ago by Richard Cochran <[email protected]>
Introduce error codes for the run_pmc method.

The run_pmc function is used by several of the PMC agent methods, but it
breaks the pattern of r...

802259bbe40faa5f8bdebab36e6fbcbc51c3c2a2 authored about 4 years ago by Richard Cochran <[email protected]>
Clarify the documentation of the management TLV ID helper function.

Signed-off-by: Richard Cochran <[email protected]>
Suggested-by: Vladimir Oltean <olteanv...

f1a273407ba4cd1e3075a42b039b59ff7fd24f3a authored about 4 years ago by Richard Cochran <[email protected]>
Find a better home for the management TLV ID helper function.

Signed-off-by: Richard Cochran <[email protected]>

d95bb9f9d62f4f372934905e97e052aa68dcfc58 authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Hide the implementation.

The PMC agent's implementation should not be exposed to its users. This
patch hides the details...

826698791769e0ba4431fe98f02d4d09c109542e authored about 4 years ago by Richard Cochran <[email protected]>
Find a better home for the management TLV data helper function.

Signed-off-by: Richard Cochran <[email protected]>

5dd47c873cae8e0a2815b43c1ef3a86b9aca9dac authored about 4 years ago by Richard Cochran <[email protected]>
pmc_agent: Rename pmc_node to something more descriptive.

Signed-off-by: Richard Cochran <[email protected]>

bb6865cdf59572fcb09c11d549828269281c6841 authored about 4 years ago by Richard Cochran <[email protected]>
Introduce the PMC agent module.

The logic for placing PTP management queries migrated out of phc2sys into
pmc_common in order to...

f266740e1a8aacc03f97205ae14fc43c59081433 authored about 4 years ago by Richard Cochran <[email protected]>
phc2sys: break long lines in the PTP management message accessors

In preparation of moving these functions to pmc_common.c, break the
lines to a maximum of 80 cha...

d90c44a9aa57719a3bb461a759c7260a4d761231 authored about 4 years ago by Vladimir Oltean <[email protected]>
phc2sys: make PMC functions non-static

In preparation of a trivial movement of code to pmc_common.c, remove the
"static" keyword from t...

2ccbb14450e1e96168a2604c0e8c96ae5a6a5bf0 authored about 4 years ago by Vladimir Oltean <[email protected]>
phc2sys: extract PMC functionality into a smaller struct pmc_node

This creates a smaller structure within phc2sys_private, which embeds
all properties related to ...

1ca1419ad7e6cc04cf893f5a9ca449a90f39f4e0 authored about 4 years ago by Vladimir Oltean <[email protected]>
phc2sys: break out pmc code into pmc_common.c

The code through which phc2sys sends various PTP management messages to
ptp4l via pmc can be reu...

abc75482332752b630b023178ccdf636f5fe7de7 authored about 4 years ago by Vladimir Oltean <[email protected]>
phc2sys: Postpone adding of servo to clock.

Instead of unconditionally creating a servo for each clock in their
initialization, add the serv...

194dc845103c783e5f9bd6f9f025eedd6a5f3d36 authored about 4 years ago by Miroslav Lichvar <[email protected]>
phc2sys: Remove superfluous code.

Remove duplicated code specific to the ntpshm servo configuration.

Signed-off-by: Miroslav Lich...

96b5fd2b7e4b52cb3abfbb8202452928c55ecec4 authored about 4 years ago by Miroslav Lichvar <[email protected]>