]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: Enable PTP unicast
authorHarini Katakam <harini.katakam@xilinx.com>
Tue, 11 Apr 2023 12:37:11 +0000 (18:07 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:28:09 +0000 (12:28 +0200)
commit7aa720c350c7108179a37c3cec0b80087ab7479c
treea4ab1ea2174b6d119f87e009143f27a1c64125cb
parent7f4116c6f98412a6e29ace6d6a7b41ebb4e8a392
net: macb: Enable PTP unicast

[ Upstream commit ee4e92c26c60b7344b7261035683a37da5a6119b ]

Enable transmission and reception of PTP unicast packets by
updating PTP unicast config bit and setting current HW mac
address as allowed address in PTP unicast filter registers.

Signed-off-by: Harini Katakam <harini.katakam@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 403f0e771457 ("net: macb: fix sleep inside spinlock")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/cadence/macb.h
drivers/net/ethernet/cadence/macb_main.c