aboutsummaryrefslogtreecommitdiff
path: root/include/fsl_mdio.h
diff options
context:
space:
mode:
authorRoy Zang2012-10-08 07:44:21 +0000
committerAndy Fleming2012-10-22 14:31:25 -0500
commit111fd19e3b9eb1005fd24ef09c163dd10103f5fa (patch)
treee081e918e4d9129be8d56618d339a9f1d6ffac20 /include/fsl_mdio.h
parentd2404141f9cb45a01da3297bb873510799351a60 (diff)
fm/mEMAC: add mEMAC frame work
The multirate ethernet media access controller (mEMAC) interfaces to 10Gbps and below Ethernet/IEEE 802.3 networks via either RGMII/RMII interfaces or XAUI/XFI/SGMII/QSGMII using the high-speed SerDes interface. Signed-off-by: Sandeep Singh <Sandeep@freescale.com> Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include/fsl_mdio.h')
-rw-r--r--include/fsl_mdio.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/fsl_mdio.h b/include/fsl_mdio.h
index ea8b54b56f9..e24e828cd1d 100644
--- a/include/fsl_mdio.h
+++ b/include/fsl_mdio.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2009-2010 Freescale Semiconductor, Inc.
+ * Copyright 2009-2012 Freescale Semiconductor, Inc.
* Jun-jie Zhang <b18070@freescale.com>
* Mingkai Hu <Mingkai.hu@freescale.com>
*
@@ -51,6 +51,10 @@ int tsec_local_mdio_read(struct tsec_mii_mng *phyregs, int port_addr,
int tsec_phy_read(struct mii_dev *bus, int addr, int dev_addr, int regnum);
int tsec_phy_write(struct mii_dev *bus, int addr, int dev_addr, int regnum,
u16 value);
+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);
struct fsl_pq_mdio_info {
struct tsec_mii_mng *regs;