linux/drivers/net/phy/et1011c.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * drivers/net/phy/et1011c.c
 *
 * Driver for LSI ET1011C PHYs
 *
 * Author: Chaithrika U S
 *
 * Copyright (c) 2008 Texas Instruments
 */
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/unistd.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/mii.h>
#include <linux/ethtool.h>
#include <linux/phy.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <asm/irq.h>

#define ET1011C_STATUS_REG
#define ET1011C_CONFIG_REG
#define ET1011C_SPEED_MASK
#define ET1011C_GIGABIT_SPEED
#define ET1011C_TX_FIFO_MASK
#define ET1011C_TX_FIFO_DEPTH_8
#define ET1011C_TX_FIFO_DEPTH_16
#define ET1011C_INTERFACE_MASK
#define ET1011C_GMII_INTERFACE
#define ET1011C_SYS_CLK_EN


MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();

static int et1011c_config_aneg(struct phy_device *phydev)
{}

static int et1011c_read_status(struct phy_device *phydev)
{}

static struct phy_driver et1011c_driver[] =;

module_phy_driver(et1011c_driver);

static struct mdio_device_id __maybe_unused et1011c_tbl[] =;

MODULE_DEVICE_TABLE(mdio, et1011c_tbl);