aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/e1000/e1000.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/intel/e1000/e1000.h')
-rw-r--r--drivers/net/ethernet/intel/e1000/e1000.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/net/ethernet/intel/e1000/e1000.h b/drivers/net/ethernet/intel/e1000/e1000.h
index 26d9cd59ec75..58c147271a36 100644
--- a/drivers/net/ethernet/intel/e1000/e1000.h
+++ b/drivers/net/ethernet/intel/e1000/e1000.h
@@ -325,7 +325,7 @@ enum e1000_state_t {
325#undef pr_fmt 325#undef pr_fmt
326#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 326#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
327 327
328extern struct net_device *e1000_get_hw_dev(struct e1000_hw *hw); 328struct net_device *e1000_get_hw_dev(struct e1000_hw *hw);
329#define e_dbg(format, arg...) \ 329#define e_dbg(format, arg...) \
330 netdev_dbg(e1000_get_hw_dev(hw), format, ## arg) 330 netdev_dbg(e1000_get_hw_dev(hw), format, ## arg)
331#define e_err(msglvl, format, arg...) \ 331#define e_err(msglvl, format, arg...) \
@@ -346,20 +346,20 @@ extern struct net_device *e1000_get_hw_dev(struct e1000_hw *hw);
346extern char e1000_driver_name[]; 346extern char e1000_driver_name[];
347extern const char e1000_driver_version[]; 347extern const char e1000_driver_version[];
348 348
349extern int e1000_up(struct e1000_adapter *adapter); 349int e1000_up(struct e1000_adapter *adapter);
350extern void e1000_down(struct e1000_adapter *adapter); 350void e1000_down(struct e1000_adapter *adapter);
351extern void e1000_reinit_locked(struct e1000_adapter *adapter); 351void e1000_reinit_locked(struct e1000_adapter *adapter);
352extern void e1000_reset(struct e1000_adapter *adapter); 352void e1000_reset(struct e1000_adapter *adapter);
353extern int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx); 353int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx);
354extern int e1000_setup_all_rx_resources(struct e1000_adapter *adapter); 354int e1000_setup_all_rx_resources(struct e1000_adapter *adapter);
355extern int e1000_setup_all_tx_resources(struct e1000_adapter *adapter); 355int e1000_setup_all_tx_resources(struct e1000_adapter *adapter);
356extern void e1000_free_all_rx_resources(struct e1000_adapter *adapter); 356void e1000_free_all_rx_resources(struct e1000_adapter *adapter);
357extern void e1000_free_all_tx_resources(struct e1000_adapter *adapter); 357void e1000_free_all_tx_resources(struct e1000_adapter *adapter);
358extern void e1000_update_stats(struct e1000_adapter *adapter); 358void e1000_update_stats(struct e1000_adapter *adapter);
359extern bool e1000_has_link(struct e1000_adapter *adapter); 359bool e1000_has_link(struct e1000_adapter *adapter);
360extern void e1000_power_up_phy(struct e1000_adapter *); 360void e1000_power_up_phy(struct e1000_adapter *);
361extern void e1000_set_ethtool_ops(struct net_device *netdev); 361void e1000_set_ethtool_ops(struct net_device *netdev);
362extern void e1000_check_options(struct e1000_adapter *adapter); 362void e1000_check_options(struct e1000_adapter *adapter);
363extern char *e1000_get_hw_dev_name(struct e1000_hw *hw); 363char *e1000_get_hw_dev_name(struct e1000_hw *hw);
364 364
365#endif /* _E1000_H_ */ 365#endif /* _E1000_H_ */