diff options
author | Mugunthan V N | 2014-05-22 14:37:10 +0530 |
---|---|---|
committer | Tom Rini | 2014-07-25 15:21:05 -0400 |
commit | 7a0227534dfc17c96bb02529fb69971d079a85f0 (patch) | |
tree | 227d8e6dbda89eec57ba97d1ffc227ada11f1267 /include/cpsw.h | |
parent | 23f23f23d509e8e873797884456070c8a47d72b2 (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.h | 1 |
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; }; |