uboot/include/eth_phy.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0+ */
   2/*
   3 * Copyright 2020 NXP
   4 */
   5
   6#ifndef _eth_phy_h_
   7#define _eth_phy_h_
   8
   9#include <phy.h>
  10
  11struct udevice;
  12
  13int eth_phy_binds_nodes(struct udevice *eth_dev);
  14int eth_phy_set_mdio_bus(struct udevice *eth_dev, struct mii_dev *mdio_bus);
  15struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev);
  16int eth_phy_get_addr(struct udevice *dev);
  17
  18#endif
  19