[U-Boot] [PATCH 09/10][v4] driver: net: ldpaa: Use DPMAC as net device

York Sun yorksun at freescale.com
Mon Nov 30 18:08:11 CET 2015



On 11/03/2015 10:56 PM, Prabhakar Kushwaha wrote:
> 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 at freescale.com>
> ---
>  Changes for v2: Use Child container for DPMAC, DPMAC-DPNI connection
>  Changes for v3: Sending as it is
>  Changes for v4: Set link speed in DPMAC 
> 
>  drivers/net/fsl-mc/mc.c           |   6 ++
>  drivers/net/ldpaa_eth/ldpaa_eth.c | 163 +++++++++++++++++++++++++++++---------
>  drivers/net/ldpaa_eth/ldpaa_eth.h |  17 ++--
>  include/fsl-mc/fsl_mc_private.h   |   3 +-
>  4 files changed, 144 insertions(+), 45 deletions(-)

Applied to fsl-qoriq master. Thanks.

York


More information about the U-Boot mailing list