]> git.dujemihanovic.xyz Git - u-boot.git/commit
driver: net: ldpaa: Use DPMAC as net device
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Wed, 4 Nov 2015 06:56:00 +0000 (12:26 +0530)
committerYork Sun <yorksun@freescale.com>
Mon, 30 Nov 2015 16:53:03 +0000 (08:53 -0800)
commitc919ab9ee5811844d0ebefcfd0bba903d4089a85
tree890cdb6c6c4555942020a8beba04e12c94c0db96
parent1730a17db9a9ce21380ba99eb4d2f10884186cca
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>
drivers/net/fsl-mc/mc.c
drivers/net/ldpaa_eth/ldpaa_eth.c
drivers/net/ldpaa_eth/ldpaa_eth.h
include/fsl-mc/fsl_mc_private.h