mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
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: Kory Maincent <kory.maincent@bootlin.com> Link: https://patch.msgid.link/20240709-feature_ptp_netnext-v17-5-b5317f50df2a@bootlin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
2dd3560059
commit
bc5a07ed15
@ -14,6 +14,7 @@
|
||||
SOF_TIMESTAMPING_RAW_HARDWARE)
|
||||
|
||||
enum hwtstamp_source {
|
||||
HWTSTAMP_SOURCE_UNSPEC,
|
||||
HWTSTAMP_SOURCE_NETDEV,
|
||||
HWTSTAMP_SOURCE_PHYLIB,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user