]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
net: macb: TSU clock and PTP fixes
authorHarini Katakam <harini.katakam@xilinx.com>
Thu, 8 Mar 2018 12:50:50 +0000 (18:20 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 16 Mar 2018 09:25:56 +0000 (10:25 +0100)
commit568f4f22cb68236f101516146e4acf5dd0f0111b
tree55e876692d6debdd8a541840175d084902ffe072
parent78ae1938162691b071f5fd23c46fbc0e952db972
net: macb: TSU clock and PTP fixes

Enable transmission and reception of PTP unicast packets.
Add tsu_clk and get the rate for the same from clock framework.
Move definition of tsu_rate to be in sync with master.
Add spinlocks in ptp_remove to avoid issues during suspend/resume.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/ethernet/cadence/macb.h
drivers/net/ethernet/cadence/macb_main.c
drivers/net/ethernet/cadence/macb_ptp.c