diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2011-06-13 21:34:33 -0400 |
---|---|---|
committer | David S. Miller <davem@conan.davemloft.net> | 2011-06-15 10:56:58 -0400 |
commit | 3deb8167ea66974b0bc8c13c8ee0beafc02a73a1 (patch) | |
tree | 487225b3f4d3305ba2baadc0aa48904c9ad20203 /drivers/net/bnx2x/bnx2x.h | |
parent | 0d40f0d425ec632956547bd8efd8965e5945e1dc (diff) |
bnx2x: Add a periodic task for link PHY events
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x/bnx2x.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h index 838a4edbe942..36961494e000 100644 --- a/drivers/net/bnx2x/bnx2x.h +++ b/drivers/net/bnx2x/bnx2x.h | |||
@@ -1160,6 +1160,8 @@ struct bnx2x { | |||
1160 | 1160 | ||
1161 | struct delayed_work sp_task; | 1161 | struct delayed_work sp_task; |
1162 | struct delayed_work reset_task; | 1162 | struct delayed_work reset_task; |
1163 | |||
1164 | struct delayed_work period_task; | ||
1163 | struct timer_list timer; | 1165 | struct timer_list timer; |
1164 | int current_interval; | 1166 | int current_interval; |
1165 | 1167 | ||
@@ -1940,4 +1942,5 @@ static const u32 dmae_reg_go_c[] = { | |||
1940 | }; | 1942 | }; |
1941 | 1943 | ||
1942 | void bnx2x_set_ethtool_ops(struct net_device *netdev); | 1944 | void bnx2x_set_ethtool_ops(struct net_device *netdev); |
1945 | void bnx2x_notify_link_changed(struct bnx2x *bp); | ||
1943 | #endif /* bnx2x.h */ | 1946 | #endif /* bnx2x.h */ |