linux/drivers/net/ethernet/hisilicon
Jian Shen 4971394d9d net: hns3: defer calling ptp_clock_register()
Currently the ptp_clock_register() is called before relative
ptp resource ready. It may cause unexpected result when upper
layer called the ptp API during the timewindow. Fix it by
moving the ptp_clock_register() to the function end.

Fixes: 0bf5eb7885 ("net: hns3: add support for PTP")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20250430093052.2400464-5-shaojijie@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-05-01 07:19:48 -07:00
..
hibmcge net: hibmcge: fix multiple phy_stop() issue 2025-04-11 20:17:36 -07:00
hns treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
hns3 net: hns3: defer calling ptp_clock_register() 2025-05-01 07:19:48 -07:00
Kconfig net: hibmcge: Add a Makefile and update Kconfig for hibmcge 2024-10-21 11:26:53 +02:00
Makefile net: hibmcge: Add a Makefile and update Kconfig for hibmcge 2024-10-21 11:26:53 +02:00
hip04_eth.c net: ethernet: hisilicon: Switch to use hrtimer_setup() 2025-02-18 10:35:45 +01:00
hisi_femac.c net: ethernet: Switch back to struct platform_driver::remove() 2024-10-04 16:39:56 -07:00
hix5hd2_gmac.c net: ethernet: Switch back to struct platform_driver::remove() 2024-10-04 16:39:56 -07:00
hns_mdio.c net: hisilicon: hns_mdio: remove incorrect ACPI_PTR annotation 2025-02-27 13:42:15 +01:00