linux/drivers/net/phy/uPD60620.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Driver for the Renesas PHY uPD60620.
 *
 * Copyright (C) 2015 Softing Industrial Automation GmbH
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/phy.h>

#define UPD60620_PHY_ID

/* Extended Registers and values */
/* PHY Special Control/Status    */
#define PHY_PHYSCR
#define PHY_PHYSCR_10MB
#define PHY_PHYSCR_100MB
#define PHY_PHYSCR_DUPLEX

/* PHY Special Modes */
#define PHY_SPM

/* Init PHY */

static int upd60620_config_init(struct phy_device *phydev)
{}

/* Get PHY status from common registers */

static int upd60620_read_status(struct phy_device *phydev)
{}

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

static struct phy_driver upd60620_driver[1] =;

module_phy_driver(upd60620_driver);

static struct mdio_device_id __maybe_unused upd60620_tbl[] =;

MODULE_DEVICE_TABLE(mdio, upd60620_tbl);