1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
2 /* Copyright 2019 NXP */
3
4 #include <linux/phy.h>
5 #include "enetc_pf.h"
6
7 struct enetc_mdio_priv {
8 struct enetc_hw *hw;
9 };
10
11 int enetc_mdio_write(struct mii_bus *bus, int phy_id, int regnum, u16 value);
12 int enetc_mdio_read(struct mii_bus *bus, int phy_id, int regnum);