mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-21 08:03:45 -04:00
cpsw: add a DT field for the active time stamping port
Because time stamping on both external ports of the switch simultaneously is positively useless from the application's point of view, this patch provides a DT configuration method to choose the active port. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6b60393e08
commit
78ca0b2873
@@ -33,6 +33,7 @@ struct cpsw_platform_data {
|
||||
|
||||
u32 slaves; /* number of slave cpgmac ports */
|
||||
struct cpsw_slave_data *slave_data;
|
||||
u32 cpts_active_slave; /* time stamping slave */
|
||||
|
||||
u32 ale_reg_ofs; /* address lookup engine reg offset */
|
||||
u32 ale_entries; /* ale table size */
|
||||
|
||||
Reference in New Issue
Block a user