eth.h 478 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2016 BayLibre, SAS
  4. * Author: Neil Armstrong <narmstrong@baylibre.com>
  5. */
  6. #ifndef __MESON_ETH_H__
  7. #define __MESON_ETH_H__
  8. #include <phy.h>
  9. enum {
  10. /* Use GXL Internal RMII PHY */
  11. MESON_GXL_USE_INTERNAL_RMII_PHY = 1,
  12. };
  13. /* Configure the Ethernet MAC with the requested interface mode
  14. * with some optional flags.
  15. */
  16. void meson_gx_eth_init(phy_interface_t mode, unsigned int flags);
  17. #endif /* __MESON_ETH_H__ */