summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2015-11-04 12:26:00 +0530
committerYork Sun <yorksun@freescale.com>2015-11-30 08:53:03 -0800
commitc919ab9ee5811844d0ebefcfd0bba903d4089a85 (patch)
tree890cdb6c6c4555942020a8beba04e12c94c0db96 /include
parent1730a17db9a9ce21380ba99eb4d2f10884186cca (diff)
downloadu-boot-imx-c919ab9ee5811844d0ebefcfd0bba903d4089a85.zip
u-boot-imx-c919ab9ee5811844d0ebefcfd0bba903d4089a85.tar.gz
u-boot-imx-c919ab9ee5811844d0ebefcfd0bba903d4089a85.tar.bz2
driver: net: ldpaa: Use DPMAC as net device
As per current implementation of DPAA2 ethernet driver DPNI is used as net device. DPNI is tangible objects can be multiple connected to same physical lane. Use DPMAC as net device where it represents physical lane. Below modification done in driver - Use global DPNI object - Connect DPMAC to DPNI - Create and destroy DPMAC Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/fsl-mc/fsl_mc_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/fsl-mc/fsl_mc_private.h b/include/fsl-mc/fsl_mc_private.h
index 191783a..17e0611 100644
--- a/include/fsl-mc/fsl_mc_private.h
+++ b/include/fsl-mc/fsl_mc_private.h
@@ -13,6 +13,7 @@
#include <linux/compat.h>
#include <linux/types.h>
#include <linux/stringify.h>
+#include <phy.h>
#include <fsl-mc/fsl_mc_sys.h>
#include <fsl-mc/fsl_mc_cmd.h>
@@ -64,6 +65,6 @@ struct fsl_dpni_obj {
extern struct fsl_dpni_obj *dflt_dpni;
int mc_init(u64 mc_fw_addr, u64 mc_dpc_addr);
-int ldpaa_eth_init(int dpmac_id);
+int ldpaa_eth_init(int dpmac_id, phy_interface_t enet_if);
int mc_apply_dpl(u64 mc_dpl_addr);
#endif /* _FSL_MC_PRIVATE_H_ */