Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup .ini file parse and add support for linux kernel HW timestamping #462

Merged
merged 2 commits into from
Aug 26, 2016

Conversation

christopher-s-hall
Copy link
Contributor

No description provided.

Linux kernel version 4.6+ adds an additional cross timestamp ioctl for
hardware that supports it. The cross-timestamp is exposed through the PTP
driver interface. Intel PCH hardware reliably provides sub microsecond
accuracy.

Add error check for existing (legacy) PTP cross-timestamp ioctl()

ifdef guards around code and capabilities check guarantee that any
combination of header files and kernel version will compile and
execute correctly defaulting to legacy (SW based) cross-timestamping
Move port initialization where PHY delay is provided *after* parsing
of .ini file
@pinealservo
Copy link
Contributor

Looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants