Merge tag 'u-boot-imx-20190426' of git://git.denx.de/u-boot-imx
[oweals/u-boot.git] / drivers / net / mscc_eswitch / mscc_miim.h
1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
2 /*
3  * Copyright (c) 2018 Microsemi Corporation
4  */
5
6 struct mscc_miim_dev {
7         void __iomem *regs;
8         void __iomem *phy_regs;
9 };
10
11 int mscc_miim_read(struct mii_dev *bus, int addr, int devad, int reg);
12 int mscc_miim_write(struct mii_dev *bus, int addr, int devad, int reg, u16 val);