summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/e1000.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-11 17:51:39 -0800
committerJeff Garzik <jeff@garzik.org>2006-03-11 21:49:49 -0500
commit30dcbf29cc6d92d70fa262e79e84011fe6913bed (patch)
tree2b356350d2dea45b498e2c0c6e9718b364594752 /drivers/net/e1000/e1000.h
parentded78e5e2cab0ec470cca7d34d7af742371bd476 (diff)
downloadblackbird-op-linux-30dcbf29cc6d92d70fa262e79e84011fe6913bed.tar.gz
blackbird-op-linux-30dcbf29cc6d92d70fa262e79e84011fe6913bed.zip
[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>
Diffstat (limited to 'drivers/net/e1000/e1000.h')
-rw-r--r--drivers/net/e1000/e1000.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000.h b/drivers/net/e1000/e1000.h
index 214468c35b4b..281de41d030a 100644
--- a/drivers/net/e1000/e1000.h
+++ b/drivers/net/e1000/e1000.h
@@ -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_ */
OpenPOWER on IntegriCloud