#include <linux/pci.h>
#include <linux/phy.h>
#include <linux/netdevice.h>
#include "../libwx/wx_ethtool.h"
#include "../libwx/wx_type.h"
#include "../libwx/wx_lib.h"
#include "../libwx/wx_hw.h"
#include "ngbe_ethtool.h"
#include "ngbe_type.h"
static void ngbe_get_wol(struct net_device *netdev,
struct ethtool_wolinfo *wol)
{ … }
static int ngbe_set_wol(struct net_device *netdev,
struct ethtool_wolinfo *wol)
{ … }
static int ngbe_set_ringparam(struct net_device *netdev,
struct ethtool_ringparam *ring,
struct kernel_ethtool_ringparam *kernel_ring,
struct netlink_ext_ack *extack)
{ … }
static int ngbe_set_channels(struct net_device *dev,
struct ethtool_channels *ch)
{ … }
static const struct ethtool_ops ngbe_ethtool_ops = …;
void ngbe_set_ethtool_ops(struct net_device *netdev)
{ … }