#include <linux/mod_devicetable.h>
#include <linux/property.h>
#include "ksz8.h"
#include "ksz_common.h"
#define SMI_KSZ88XX_READ_PHY …
static int ksz8863_mdio_read(void *ctx, const void *reg_buf, size_t reg_len,
void *val_buf, size_t val_len)
{ … }
static int ksz8863_mdio_write(void *ctx, const void *data, size_t count)
{ … }
static const struct regmap_bus regmap_smi[] = …;
static const struct regmap_config ksz8863_regmap_config[] = …;
static int ksz8863_smi_probe(struct mdio_device *mdiodev)
{ … }
static void ksz8863_smi_remove(struct mdio_device *mdiodev)
{ … }
static void ksz8863_smi_shutdown(struct mdio_device *mdiodev)
{ … }
static const struct of_device_id ksz8863_dt_ids[] = …;
MODULE_DEVICE_TABLE(of, ksz8863_dt_ids);
static struct mdio_driver ksz8863_driver = …;
mdio_module_driver(ksz8863_driver);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;