Commit bc5a07ed authored by Kory Maincent's avatar Kory Maincent Committed by Jakub Kicinski

net: net_tstamp: Add unspec field to hwtstamp_source enumeration

Prepare for future support of saving hwtstamp source in PTP xarray by
introducing HWTSTAMP_SOURCE_UNSPEC to hwtstamp_source enum, setting it
to 0 to match old behavior of no source defined.
Signed-off-by: default avatarKory Maincent <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20240709-feature_ptp_netnext-v17-5-b5317f50df2a@bootlin.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 2dd35600
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
SOF_TIMESTAMPING_RAW_HARDWARE) SOF_TIMESTAMPING_RAW_HARDWARE)
enum hwtstamp_source { enum hwtstamp_source {
HWTSTAMP_SOURCE_UNSPEC,
HWTSTAMP_SOURCE_NETDEV, HWTSTAMP_SOURCE_NETDEV,
HWTSTAMP_SOURCE_PHYLIB, HWTSTAMP_SOURCE_PHYLIB,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment