diff options
author | Richard Cochran <richardcochran@gmail.com> | 2012-10-29 04:45:18 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-01 12:21:32 -0400 |
commit | 78ca0b287314ad6b7b06161b3ff9b13e8a8bcce0 (patch) | |
tree | 99ab480436bf31cb253c334f57b5b9b039ad9f0a /include/linux/platform_data | |
parent | 6b60393e08f9263c7b129d54eeb261e8f970175c (diff) |
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>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/cpsw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/cpsw.h b/include/linux/platform_data/cpsw.h index a052b1dca957..15a077eb0689 100644 --- a/include/linux/platform_data/cpsw.h +++ b/include/linux/platform_data/cpsw.h | |||
@@ -33,6 +33,7 @@ struct cpsw_platform_data { | |||
33 | 33 | ||
34 | u32 slaves; /* number of slave cpgmac ports */ | 34 | u32 slaves; /* number of slave cpgmac ports */ |
35 | struct cpsw_slave_data *slave_data; | 35 | struct cpsw_slave_data *slave_data; |
36 | u32 cpts_active_slave; /* time stamping slave */ | ||
36 | 37 | ||
37 | u32 ale_reg_ofs; /* address lookup engine reg offset */ | 38 | u32 ale_reg_ofs; /* address lookup engine reg offset */ |
38 | u32 ale_entries; /* ale table size */ | 39 | u32 ale_entries; /* ale table size */ |