diff options
Diffstat (limited to 'drivers/net/benet/be.h')
-rw-r--r-- | drivers/net/benet/be.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h index 94b75cb072f7..f703758f0a6e 100644 --- a/drivers/net/benet/be.h +++ b/drivers/net/benet/be.h | |||
@@ -163,6 +163,10 @@ struct be_ctrl_info { | |||
163 | struct be_mcc_obj mcc_obj; | 163 | struct be_mcc_obj mcc_obj; |
164 | spinlock_t mcc_lock; /* For serializing mcc cmds to BE card */ | 164 | spinlock_t mcc_lock; /* For serializing mcc cmds to BE card */ |
165 | spinlock_t mcc_cq_lock; | 165 | spinlock_t mcc_cq_lock; |
166 | |||
167 | /* MCC Async callback */ | ||
168 | void (*async_cb)(void *adapter, bool link_up); | ||
169 | void *adapter_ctxt; | ||
166 | }; | 170 | }; |
167 | 171 | ||
168 | #include "be_cmds.h" | 172 | #include "be_cmds.h" |
@@ -272,7 +276,7 @@ struct be_adapter { | |||
272 | u32 if_handle; /* Used to configure filtering */ | 276 | u32 if_handle; /* Used to configure filtering */ |
273 | u32 pmac_id; /* MAC addr handle used by BE card */ | 277 | u32 pmac_id; /* MAC addr handle used by BE card */ |
274 | 278 | ||
275 | struct be_link_info link; | 279 | bool link_up; |
276 | u32 port_num; | 280 | u32 port_num; |
277 | bool promiscuous; | 281 | bool promiscuous; |
278 | }; | 282 | }; |