#include <linux/netdevice.h>
#include <linux/pci.h>
#include <linux/phylink.h>
#include "tn40.h"
static struct tn40_priv *tn40_config_to_priv(struct phylink_config *config)
{ … }
static void tn40_link_up(struct phylink_config *config, struct phy_device *phy,
unsigned int mode, phy_interface_t interface,
int speed, int duplex, bool tx_pause, bool rx_pause)
{ … }
static void tn40_link_down(struct phylink_config *config, unsigned int mode,
phy_interface_t interface)
{ … }
static void tn40_mac_config(struct phylink_config *config, unsigned int mode,
const struct phylink_link_state *state)
{ … }
static const struct phylink_mac_ops tn40_mac_ops = …;
int tn40_phy_register(struct tn40_priv *priv)
{ … }
void tn40_phy_unregister(struct tn40_priv *priv)
{ … }