Yufeng Mo 8373cd38a8 net: hns3: change the method of obtaining default ptp cycle
The ptp cycle is related to the hardware, so it may cause compatibility
issues if a fixed value is used in driver. Therefore, the method of
obtaining this value is changed to read from the register rather than
use a fixed value in driver.

Fixes: 0bf5eb788512 ("net: hns3: add support for PTP")
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-27 20:59:32 +01:00
..
2021-07-16 17:22:35 -07:00
2021-07-13 09:43:50 -07:00
2021-07-03 11:13:22 -07:00
2021-06-30 15:51:09 -07:00
2021-07-05 14:08:24 -07:00
2021-07-05 14:08:24 -07:00
2021-07-23 10:34:31 +02:00
2021-06-28 12:44:17 -07:00
2021-05-20 15:10:57 -07:00
2021-06-14 13:17:10 -07:00
2021-06-01 17:05:04 -07:00
2021-05-20 15:10:57 -07:00