diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2011-08-02 23:57:42 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-03 14:23:29 +0400 |
commit | ea172a011d1435d9bd167265bf51cc64d026b4e7 (patch) | |
tree | 66b4988065a7f51973a9705a4321beed701c6374 /drivers/net/benet/be.h | |
parent | d09f698056a33c8b078497fb23e3304b6f8a908f (diff) | |
download | linux-ea172a011d1435d9bd167265bf51cc64d026b4e7.tar.xz |
be2net: no need to query link status
Change in the link status generates an MCC event. This is processed and
netif_carrier_on/off is called accordingly. Don't need to query/store the
link_status state.
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be.h')
-rw-r--r-- | drivers/net/benet/be.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h index af57b51b2787..8d897d1a93ba 100644 --- a/drivers/net/benet/be.h +++ b/drivers/net/benet/be.h @@ -521,7 +521,7 @@ static inline bool be_multi_rxq(const struct be_adapter *adapter) extern void be_cq_notify(struct be_adapter *adapter, u16 qid, bool arm, u16 num_popped); -extern void be_link_status_update(struct be_adapter *adapter, bool link_up); +extern void be_link_status_update(struct be_adapter *adapter, u32 link_status); extern void be_parse_stats(struct be_adapter *adapter); extern int be_load_fw(struct be_adapter *adapter, u8 *func); #endif /* BE_H */ |