#include <linux/kernel.h>
#include <linux/ethtool.h>
#include <linux/phy.h>
#include <linux/ratelimit.h>
#include <linux/of_mdio.h>
#include <net/dst.h>
#include "octeon-ethernet.h"
#include "ethernet-defines.h"
#include "ethernet-mdio.h"
#include "ethernet-util.h"
static void cvm_oct_get_drvinfo(struct net_device *dev,
struct ethtool_drvinfo *info)
{ … }
static int cvm_oct_nway_reset(struct net_device *dev)
{ … }
const struct ethtool_ops cvm_oct_ethtool_ops = …;
int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
{ … }
void cvm_oct_note_carrier(struct octeon_ethernet *priv,
union cvmx_helper_link_info li)
{ … }
void cvm_oct_adjust_link(struct net_device *dev)
{ … }
int cvm_oct_common_stop(struct net_device *dev)
{ … }
int cvm_oct_phy_setup_device(struct net_device *dev)
{ … }