We had to include this header file here to address a nasty include problem and make these prototypes available to other C files in our driver:
int enet_mdio_read(struct enet *enet, uint16_t phy, uint16_t reg);
int enet_mdio_write(struct enet *enet, uint16_t phy, uint16_t reg, uint16_t data);