linux/drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c

// SPDX-License-Identifier: GPL-2.0-only
/*******************************************************************************
  This is the driver for the MAC 10/100 on-chip Ethernet controller
  currently tested on all the ST boards based on STb7109 and stx7200 SoCs.

  DWC Ether MAC 10/100 Universal version 4.0 has been used for developing
  this code.

  This only implements the mac core functions for this chip.

  Copyright (C) 2007-2009  STMicroelectronics Ltd


  Author: Giuseppe Cavallaro <[email protected]>
*******************************************************************************/

#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)
{}

/* No PMT module supported on ST boards with this Eth chip. */
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)
{}