diff options
author | Ayyappan Veeraiyan <ayyappan.veeraiyan@intel.com> | 2008-02-01 18:58:41 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-05 13:31:31 -0500 |
commit | d4f80882ee7bdc721230b9ac209ddd3a837e4545 (patch) | |
tree | ec7a096ac3c39c0d5cc5f32e88f8c7bf2f089e4c /drivers/net/ixgbe/ixgbe.h | |
parent | 06f7525be463ef95bfdba001484bda04d00ec74e (diff) |
ixgbe: remove obsolete irq_sem, add driver state checking code
After testing we confirmed that the irq_sem can safely be
removed from ixgbe.
Add strict state checking code to various ethtool parts to
properly protect against races between various driver reset
paths.
Signed-off-by: Ayyappan Veeraiyan <ayyappan.veeraiyan@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index a021a6e72641..7dd9a03650d3 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h | |||
@@ -174,7 +174,6 @@ struct ixgbe_adapter { | |||
174 | struct vlan_group *vlgrp; | 174 | struct vlan_group *vlgrp; |
175 | u16 bd_number; | 175 | u16 bd_number; |
176 | u16 rx_buf_len; | 176 | u16 rx_buf_len; |
177 | atomic_t irq_sem; | ||
178 | struct work_struct reset_task; | 177 | struct work_struct reset_task; |
179 | 178 | ||
180 | /* TX */ | 179 | /* TX */ |
@@ -244,6 +243,7 @@ extern const char ixgbe_driver_version[]; | |||
244 | 243 | ||
245 | extern int ixgbe_up(struct ixgbe_adapter *adapter); | 244 | extern int ixgbe_up(struct ixgbe_adapter *adapter); |
246 | extern void ixgbe_down(struct ixgbe_adapter *adapter); | 245 | extern void ixgbe_down(struct ixgbe_adapter *adapter); |
246 | extern void ixgbe_reinit_locked(struct ixgbe_adapter *adapter); | ||
247 | extern void ixgbe_reset(struct ixgbe_adapter *adapter); | 247 | extern void ixgbe_reset(struct ixgbe_adapter *adapter); |
248 | extern void ixgbe_update_stats(struct ixgbe_adapter *adapter); | 248 | extern void ixgbe_update_stats(struct ixgbe_adapter *adapter); |
249 | extern void ixgbe_set_ethtool_ops(struct net_device *netdev); | 249 | extern void ixgbe_set_ethtool_ops(struct net_device *netdev); |