From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Mon, 30 Nov 2015 09:08:11 -0800 Subject: [U-Boot] [PATCH 09/10][v4] driver: net: ldpaa: Use DPMAC as net device In-Reply-To: <1446620162-21725-10-git-send-email-prabhakar@freescale.com> References: <1446620162-21725-1-git-send-email-prabhakar@freescale.com> <1446620162-21725-10-git-send-email-prabhakar@freescale.com> Message-ID: <565C827B.1070305@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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