1 /* 2 * SPDX-License-Identifier: GPL-2.0+ 3 */ 4 5 #ifndef __ASPEED_MDIO_H__ 6 #define __ASPEED_MDIO_H__ 7 8 #include <net.h> 9 #include <miiphy.h> 10 11 extern int aspeed_mdio_read(struct mii_dev *bus, int phy_addr, int dev_addr, 12 int reg_addr); 13 extern int aspeed_mdio_write(struct mii_dev *bus, int phy_addr, int dev_addr, 14 int reg_addr, u16 value); 15 16 17 #endif /* __ASPEED_MDIO_H__ */ 18