Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
0002 /*
0003  * Driver for the MDIO interface of Microsemi network switches.
0004  *
0005  * Author: Colin Foster <colin.foster@in-advantage.com>
0006  * Copyright (C) 2021 Innovative Advantage
0007  */
0008 #ifndef MDIO_MSCC_MIIM_H
0009 #define MDIO_MSCC_MIIM_H
0010 
0011 #include <linux/device.h>
0012 #include <linux/phy.h>
0013 #include <linux/regmap.h>
0014 
0015 int mscc_miim_setup(struct device *device, struct mii_bus **bus,
0016             const char *name, struct regmap *mii_regmap,
0017             int status_offset);
0018 
0019 #endif