#include "bcm-phy-lib.h"
#include <linux/module.h>
#include <linux/phy.h>
#define MII_BCM63XX_IR …
#define MII_BCM63XX_IR_EN …
#define MII_BCM63XX_IR_DUPLEX …
#define MII_BCM63XX_IR_SPEED …
#define MII_BCM63XX_IR_LINK …
#define MII_BCM63XX_IR_GMASK …
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
static int bcm63xx_config_intr(struct phy_device *phydev)
{ … }
static int bcm63xx_config_init(struct phy_device *phydev)
{ … }
static struct phy_driver bcm63xx_driver[] = …;
module_phy_driver(bcm63xx_driver);
static struct mdio_device_id __maybe_unused bcm63xx_tbl[] = …;
MODULE_DEVICE_TABLE(mdio, bcm63xx_tbl);