1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2/*
3 * Driver for the MDIO interface of Microsemi network switches.
4 *
5 * Author: Colin Foster <colin.foster@in-advantage.com>
6 * Copyright (C) 2021 Innovative Advantage
7 */
8#ifndef MDIO_MSCC_MIIM_H
9#define MDIO_MSCC_MIIM_H
10
11#include <linux/device.h>
12#include <linux/phy.h>
13#include <linux/regmap.h>
14
15int mscc_miim_setup(struct device *device, struct mii_bus **bus,
16 const char *name, struct regmap *mii_regmap,
17 int status_offset, bool ignore_read_errors);
18
19#endif
20

source code of linux/include/linux/mdio/mdio-mscc-miim.h