aboutsummaryrefslogtreecommitdiff
path: root/include/cpsw.h
diff options
context:
space:
mode:
authorMugunthan V N2014-05-22 14:37:10 +0530
committerTom Rini2014-07-25 15:21:05 -0400
commit7a0227534dfc17c96bb02529fb69971d079a85f0 (patch)
tree227d8e6dbda89eec57ba97d1ffc227ada11f1267 /include/cpsw.h
parent23f23f23d509e8e873797884456070c8a47d72b2 (diff)
drivers: net: cpsw: add support for using second port as ethernet
Add support for using the second slave port of cpsw to be used as primary ethernet. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Diffstat (limited to 'include/cpsw.h')
-rw-r--r--include/cpsw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cpsw.h b/include/cpsw.h
index a73843d2f75..547b40c57bb 100644
--- a/include/cpsw.h
+++ b/include/cpsw.h
@@ -44,6 +44,7 @@ struct cpsw_platform_data {
struct cpsw_slave_data *slave_data;
void (*control)(int enabled);
u32 host_port_num;
+ u32 active_slave;
u8 version;
};