linux/drivers/staging/octeon/ethernet-spi.c

// SPDX-License-Identifier: GPL-2.0
/*
 * This file is based on code from OCTEON SDK by Cavium Networks.
 *
 * Copyright (c) 2003-2007 Cavium Networks
 */

#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/interrupt.h>
#include <net/dst.h>

#include "octeon-ethernet.h"
#include "ethernet-defines.h"
#include "ethernet-util.h"

static int number_spi_ports;
static int need_retrain[2] =;

static void cvm_oct_spxx_int_pr(union cvmx_spxx_int_reg spx_int_reg, int index)
{}

static void cvm_oct_stxx_int_pr(union cvmx_stxx_int_reg stx_int_reg, int index)
{}

static irqreturn_t cvm_oct_spi_spx_int(int index)
{}

static irqreturn_t cvm_oct_spi_rml_interrupt(int cpl, void *dev_id)
{}

static void cvm_oct_spi_enable_error_reporting(int interface)
{}

static void cvm_oct_spi_poll(struct net_device *dev)
{}

int cvm_oct_spi_init(struct net_device *dev)
{}

void cvm_oct_spi_uninit(struct net_device *dev)
{}