summaryrefslogtreecommitdiff
path: root/include/fsl_mdio.h
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@oss.nxp.com>2020-04-23 16:25:19 +0300
committerPriyanka Jain <priyanka.jain@nxp.com>2020-04-29 11:10:54 +0530
commit6eb32a03e0da4b6bdd09d114738c5f2bfe011459 (patch)
treefeac69e18c277303ae08331be9beca8ca4cc8812 /include/fsl_mdio.h
parent20e0f629527f9cef0c2afb473f7978dc393f80ea (diff)
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 <madalin.bucur@oss.nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'include/fsl_mdio.h')
-rw-r--r--include/fsl_mdio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fsl_mdio.h b/include/fsl_mdio.h
index b87346ce7c..8857d50910 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;