diff options
author | Nicholas Nunley <nicholas.d.nunley@intel.com> | 2006-09-27 15:53:34 -0400 |
---|---|---|
committer | Auke Kok <juke-jan.h.kok@intel.com> | 2006-09-27 15:53:34 -0400 |
commit | 35574764c7eafab4ec0aa92c18a78a51acc8a710 (patch) | |
tree | 98b300ec244017d00f5c425c2143b340a6593052 /drivers/net/e1000/e1000_ethtool.c | |
parent | 70c6f30a5e5d616321669acfc853f7851741fd4e (diff) |
e1000: remove unused code and make symbols static
Signed-off-by: Nicholas Nunley <nicholas.d.nunley@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Diffstat (limited to 'drivers/net/e1000/e1000_ethtool.c')
-rw-r--r-- | drivers/net/e1000/e1000_ethtool.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_ethtool.c b/drivers/net/e1000/e1000_ethtool.c index 02193a19ab1..858c14d3ee9 100644 --- a/drivers/net/e1000/e1000_ethtool.c +++ b/drivers/net/e1000/e1000_ethtool.c | |||
@@ -32,6 +32,21 @@ | |||
32 | 32 | ||
33 | #include <asm/uaccess.h> | 33 | #include <asm/uaccess.h> |
34 | 34 | ||
35 | extern char e1000_driver_name[]; | ||
36 | extern char e1000_driver_version[]; | ||
37 | |||
38 | extern int e1000_up(struct e1000_adapter *adapter); | ||
39 | extern void e1000_down(struct e1000_adapter *adapter); | ||
40 | extern void e1000_reinit_locked(struct e1000_adapter *adapter); | ||
41 | extern void e1000_reset(struct e1000_adapter *adapter); | ||
42 | extern int e1000_set_spd_dplx(struct e1000_adapter *adapter, uint16_t spddplx); | ||
43 | extern int e1000_setup_all_rx_resources(struct e1000_adapter *adapter); | ||
44 | extern int e1000_setup_all_tx_resources(struct e1000_adapter *adapter); | ||
45 | extern void e1000_free_all_rx_resources(struct e1000_adapter *adapter); | ||
46 | extern void e1000_free_all_tx_resources(struct e1000_adapter *adapter); | ||
47 | extern void e1000_update_stats(struct e1000_adapter *adapter); | ||
48 | |||
49 | |||
35 | struct e1000_stats { | 50 | struct e1000_stats { |
36 | char stat_string[ETH_GSTRING_LEN]; | 51 | char stat_string[ETH_GSTRING_LEN]; |
37 | int sizeof_stat; | 52 | int sizeof_stat; |