netdev: drivers should make ethtool_ops const
[deliverable/linux.git] / drivers / net / sfc / ethtool.h
1 /****************************************************************************
2 * Driver for Solarflare Solarstorm network controllers and boards
3 * Copyright 2005 Fen Systems Ltd.
4 * Copyright 2006 Solarflare Communications Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation, incorporated herein by reference.
9 */
10
11 #ifndef EFX_ETHTOOL_H
12 #define EFX_ETHTOOL_H
13
14 #include "net_driver.h"
15
16 /*
17 * Ethtool support
18 */
19
20 extern int efx_ethtool_get_settings(struct net_device *net_dev,
21 struct ethtool_cmd *ecmd);
22 extern int efx_ethtool_set_settings(struct net_device *net_dev,
23 struct ethtool_cmd *ecmd);
24
25 extern const struct ethtool_ops efx_ethtool_ops;
26
27 #endif /* EFX_ETHTOOL_H */
This page took 0.033925 seconds and 5 git commands to generate.