diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2008-03-21 14:06:42 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-26 00:17:48 -0400 |
commit | a9340b86f0c9d788e24a5117d5650c6776a363af (patch) | |
tree | 43717fd35bbb54a8bf0919cb7a90675396b0255c /drivers/net | |
parent | 446490ca44dcc8a1a9f3c082809bdab208626891 (diff) |
ixgb: move externs out of .c files
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ixgb/ixgb.h | 10 | ||||
-rw-r--r-- | drivers/net/ixgb/ixgb_ethtool.c | 9 |
2 files changed, 10 insertions, 9 deletions
diff --git a/drivers/net/ixgb/ixgb.h b/drivers/net/ixgb/ixgb.h index fad4e9924a8f..a95ab55295cd 100644 --- a/drivers/net/ixgb/ixgb.h +++ b/drivers/net/ixgb/ixgb.h | |||
@@ -212,4 +212,14 @@ extern void ixgb_set_ethtool_ops(struct net_device *netdev); | |||
212 | extern char ixgb_driver_name[]; | 212 | extern char ixgb_driver_name[]; |
213 | extern const char ixgb_driver_version[]; | 213 | extern const char ixgb_driver_version[]; |
214 | 214 | ||
215 | extern int ixgb_up(struct ixgb_adapter *adapter); | ||
216 | extern void ixgb_down(struct ixgb_adapter *adapter, bool kill_watchdog); | ||
217 | extern void ixgb_reset(struct ixgb_adapter *adapter); | ||
218 | extern int ixgb_setup_rx_resources(struct ixgb_adapter *adapter); | ||
219 | extern int ixgb_setup_tx_resources(struct ixgb_adapter *adapter); | ||
220 | extern void ixgb_free_rx_resources(struct ixgb_adapter *adapter); | ||
221 | extern void ixgb_free_tx_resources(struct ixgb_adapter *adapter); | ||
222 | extern void ixgb_update_stats(struct ixgb_adapter *adapter); | ||
223 | |||
224 | |||
215 | #endif /* _IXGB_H_ */ | 225 | #endif /* _IXGB_H_ */ |
diff --git a/drivers/net/ixgb/ixgb_ethtool.c b/drivers/net/ixgb/ixgb_ethtool.c index 5d61c2e210fe..45ddf804fe5e 100644 --- a/drivers/net/ixgb/ixgb_ethtool.c +++ b/drivers/net/ixgb/ixgb_ethtool.c | |||
@@ -32,15 +32,6 @@ | |||
32 | 32 | ||
33 | #include <asm/uaccess.h> | 33 | #include <asm/uaccess.h> |
34 | 34 | ||
35 | extern int ixgb_up(struct ixgb_adapter *adapter); | ||
36 | extern void ixgb_down(struct ixgb_adapter *adapter, bool kill_watchdog); | ||
37 | extern void ixgb_reset(struct ixgb_adapter *adapter); | ||
38 | extern int ixgb_setup_rx_resources(struct ixgb_adapter *adapter); | ||
39 | extern int ixgb_setup_tx_resources(struct ixgb_adapter *adapter); | ||
40 | extern void ixgb_free_rx_resources(struct ixgb_adapter *adapter); | ||
41 | extern void ixgb_free_tx_resources(struct ixgb_adapter *adapter); | ||
42 | extern void ixgb_update_stats(struct ixgb_adapter *adapter); | ||
43 | |||
44 | #define IXGB_ALL_RAR_ENTRIES 16 | 35 | #define IXGB_ALL_RAR_ENTRIES 16 |
45 | 36 | ||
46 | struct ixgb_stats { | 37 | struct ixgb_stats { |