diff options
-rw-r--r-- | drivers/net/bonding/bond_3ad.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bonding/bond_3ad.h b/drivers/net/bonding/bond_3ad.h index daefd1652d45..68b1c51ef3bd 100644 --- a/drivers/net/bonding/bond_3ad.h +++ b/drivers/net/bonding/bond_3ad.h | |||
@@ -244,10 +244,10 @@ typedef struct port { | |||
244 | } port_t; | 244 | } port_t; |
245 | 245 | ||
246 | // system structure | 246 | // system structure |
247 | typedef struct ad_system { | 247 | struct ad_system { |
248 | u16 sys_priority; | 248 | u16 sys_priority; |
249 | struct mac_addr sys_mac_addr; | 249 | struct mac_addr sys_mac_addr; |
250 | } ad_system_t; | 250 | }; |
251 | 251 | ||
252 | #ifdef __ia64__ | 252 | #ifdef __ia64__ |
253 | #pragma pack() | 253 | #pragma pack() |
@@ -258,7 +258,7 @@ typedef struct ad_system { | |||
258 | #define SLAVE_AD_INFO(slave) ((slave)->ad_info) | 258 | #define SLAVE_AD_INFO(slave) ((slave)->ad_info) |
259 | 259 | ||
260 | struct ad_bond_info { | 260 | struct ad_bond_info { |
261 | ad_system_t system; // 802.3ad system structure | 261 | struct ad_system system; /* 802.3ad system structure */ |
262 | u32 agg_select_timer; // Timer to select aggregator after all adapter's hand shakes | 262 | u32 agg_select_timer; // Timer to select aggregator after all adapter's hand shakes |
263 | u32 agg_select_mode; // Mode of selection of active aggregator(bandwidth/count) | 263 | u32 agg_select_mode; // Mode of selection of active aggregator(bandwidth/count) |
264 | int lacp_fast; /* whether fast periodic tx should be | 264 | int lacp_fast; /* whether fast periodic tx should be |