linux/drivers/net/ethernet/sunplus/spl2sw_mdio.c

// SPDX-License-Identifier: GPL-2.0
/* Copyright Sunplus Technology Co., Ltd.
 *       All rights reserved.
 */

#include <linux/platform_device.h>
#include <linux/netdevice.h>
#include <linux/bitfield.h>
#include <linux/of_mdio.h>

#include "spl2sw_register.h"
#include "spl2sw_define.h"
#include "spl2sw_mdio.h"

#define SPL2SW_MDIO_READ_CMD
#define SPL2SW_MDIO_WRITE_CMD

static int spl2sw_mdio_access(struct spl2sw_common *comm, u8 cmd, u8 addr, u8 regnum, u16 wdata)
{}

static int spl2sw_mii_read(struct mii_bus *bus, int addr, int regnum)
{}

static int spl2sw_mii_write(struct mii_bus *bus, int addr, int regnum, u16 val)
{}

u32 spl2sw_mdio_init(struct spl2sw_common *comm)
{}

void spl2sw_mdio_remove(struct spl2sw_common *comm)
{}