#include "main.h"
#define XGE_STAT(m) …
#define XGE_EXTD_STAT(m, n) …
static const struct xge_gstrings_stats gstrings_stats[] = …;
static struct xge_gstrings_extd_stats gstrings_extd_stats[] = …;
#define XGE_STATS_LEN …
#define XGE_EXTD_STATS_LEN …
static void xge_mac_get_extd_stats(struct xge_pdata *pdata)
{ … }
static void xge_get_drvinfo(struct net_device *ndev,
struct ethtool_drvinfo *info)
{ … }
static void xge_get_strings(struct net_device *ndev, u32 stringset, u8 *data)
{ … }
static int xge_get_sset_count(struct net_device *ndev, int sset)
{ … }
static void xge_get_ethtool_stats(struct net_device *ndev,
struct ethtool_stats *dummy,
u64 *data)
{ … }
static int xge_get_link_ksettings(struct net_device *ndev,
struct ethtool_link_ksettings *cmd)
{ … }
static int xge_set_link_ksettings(struct net_device *ndev,
const struct ethtool_link_ksettings *cmd)
{ … }
static const struct ethtool_ops xge_ethtool_ops = …;
void xge_set_ethtool_ops(struct net_device *ndev)
{ … }