#include <linux/crc32.h>
#include <linux/io.h>
#include "stmmac.h"
#include "dwmac100.h"
static void dwmac100_core_init(struct mac_device_info *hw,
struct net_device *dev)
{ … }
static void dwmac100_dump_mac_regs(struct mac_device_info *hw, u32 *reg_space)
{ … }
static int dwmac100_rx_ipc_enable(struct mac_device_info *hw)
{ … }
static int dwmac100_irq_status(struct mac_device_info *hw,
struct stmmac_extra_stats *x)
{ … }
static void dwmac100_set_umac_addr(struct mac_device_info *hw,
const unsigned char *addr,
unsigned int reg_n)
{ … }
static void dwmac100_get_umac_addr(struct mac_device_info *hw,
unsigned char *addr,
unsigned int reg_n)
{ … }
static void dwmac100_set_filter(struct mac_device_info *hw,
struct net_device *dev)
{ … }
static void dwmac100_flow_ctrl(struct mac_device_info *hw, unsigned int duplex,
unsigned int fc, unsigned int pause_time,
u32 tx_cnt)
{ … }
static void dwmac100_pmt(struct mac_device_info *hw, unsigned long mode)
{ … }
static void dwmac100_set_mac_loopback(void __iomem *ioaddr, bool enable)
{ … }
const struct stmmac_ops dwmac100_ops = …;
int dwmac100_setup(struct stmmac_priv *priv)
{ … }