mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
[PATCH] drivers/net/e1000/: proper prototypes
This patch moves prototypes of global variables and functions to a header file. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: John Ronciak <john.ronciak@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@@ -339,4 +339,26 @@ struct e1000_adapter {
|
||||
boolean_t tso_force;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
/* e1000_main.c */
|
||||
extern char e1000_driver_name[];
|
||||
extern char e1000_driver_version[];
|
||||
int e1000_up(struct e1000_adapter *adapter);
|
||||
void e1000_down(struct e1000_adapter *adapter);
|
||||
void e1000_reset(struct e1000_adapter *adapter);
|
||||
int e1000_setup_all_tx_resources(struct e1000_adapter *adapter);
|
||||
void e1000_free_all_tx_resources(struct e1000_adapter *adapter);
|
||||
int e1000_setup_all_rx_resources(struct e1000_adapter *adapter);
|
||||
void e1000_free_all_rx_resources(struct e1000_adapter *adapter);
|
||||
void e1000_update_stats(struct e1000_adapter *adapter);
|
||||
int e1000_set_spd_dplx(struct e1000_adapter *adapter, uint16_t spddplx);
|
||||
|
||||
/* e1000_ethtool.c */
|
||||
void e1000_set_ethtool_ops(struct net_device *netdev);
|
||||
|
||||
/* e1000_param.c */
|
||||
void e1000_check_options(struct e1000_adapter *adapter);
|
||||
|
||||
|
||||
#endif /* _E1000_H_ */
|
||||
|
||||
Reference in New Issue
Block a user