From 6eb32a03e0da4b6bdd09d114738c5f2bfe011459 Mon Sep 17 00:00:00 2001 From: Madalin Bucur Date: Thu, 23 Apr 2020 16:25:19 +0300 Subject: driver: net: fm: add DM ETH support Probe the FMan MACs based on the device tree while retaining the legacy code/functionality. One notable change introduced here is that, for DM_ETH, the name of the interfaces is corrected to the fmX-macY format, that avoids the referral to the MAC block names which were incorrect for FMan v3 devices (i.e. DTSEC, TGEC) and had weird formatting (i.e. FM1@DTSEC6, FM1@TGEC1). The legacy code is left unchanged in this respect. Signed-off-by: Madalin Bucur Reviewed-by: Priyanka Jain --- include/fsl_mdio.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/fsl_mdio.h') diff --git a/include/fsl_mdio.h b/include/fsl_mdio.h index b87346ce7ca..8857d50910e 100644 --- a/include/fsl_mdio.h +++ b/include/fsl_mdio.h @@ -53,6 +53,7 @@ int memac_mdio_write(struct mii_dev *bus, int port_addr, int dev_addr, int regnum, u16 value); int memac_mdio_read(struct mii_dev *bus, int port_addr, int dev_addr, int regnum); +int memac_mdio_reset(struct mii_dev *bus); struct fsl_pq_mdio_info { struct tsec_mii_mng __iomem *regs; -- cgit v1.2.3