1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-30 08:32:52 +08:00

Increase PTP clock max adjust limit

This commit is contained in:
Alex Forencich 2020-04-22 21:02:33 -07:00
parent 9092e3c5cd
commit 6588d71d64

View File

@ -262,7 +262,7 @@ void mqnic_register_phc(struct mqnic_dev *mdev)
phc_features = ioread32(mdev->phc_hw_addr+MQNIC_PHC_REG_FEATURES);
mdev->ptp_clock_info.owner = THIS_MODULE;
mdev->ptp_clock_info.max_adj = 10000000,
mdev->ptp_clock_info.max_adj = 100000000,
mdev->ptp_clock_info.n_alarm = 0,
mdev->ptp_clock_info.n_ext_ts = 0,
mdev->ptp_clock_info.n_per_out = phc_features & 0xff,