diff options
Diffstat (limited to 'include/linux/platform_data/cpsw.h')
-rw-r--r-- | include/linux/platform_data/cpsw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/platform_data/cpsw.h b/include/linux/platform_data/cpsw.h index 24368a2e8b87..798fb80b024b 100644 --- a/include/linux/platform_data/cpsw.h +++ b/include/linux/platform_data/cpsw.h | |||
@@ -21,6 +21,8 @@ struct cpsw_slave_data { | |||
21 | char phy_id[MII_BUS_ID_SIZE]; | 21 | char phy_id[MII_BUS_ID_SIZE]; |
22 | int phy_if; | 22 | int phy_if; |
23 | u8 mac_addr[ETH_ALEN]; | 23 | u8 mac_addr[ETH_ALEN]; |
24 | u16 dual_emac_res_vlan; /* Reserved VLAN for DualEMAC */ | ||
25 | |||
24 | }; | 26 | }; |
25 | 27 | ||
26 | struct cpsw_platform_data { | 28 | struct cpsw_platform_data { |
@@ -35,6 +37,8 @@ struct cpsw_platform_data { | |||
35 | u32 bd_ram_size; /*buffer descriptor ram size */ | 37 | u32 bd_ram_size; /*buffer descriptor ram size */ |
36 | u32 rx_descs; /* Number of Rx Descriptios */ | 38 | u32 rx_descs; /* Number of Rx Descriptios */ |
37 | u32 mac_control; /* Mac control register */ | 39 | u32 mac_control; /* Mac control register */ |
40 | u16 default_vlan; /* Def VLAN for ALE lookup in VLAN aware mode*/ | ||
41 | bool dual_emac; /* Enable Dual EMAC mode */ | ||
38 | }; | 42 | }; |
39 | 43 | ||
40 | #endif /* __CPSW_H__ */ | 44 | #endif /* __CPSW_H__ */ |