RE: [PATCH] drivers: net: ldpaa_eth: lx2160a: fix bug in checking if a DPMAC is enabled

2020-09-11 Thread Priyanka Jain
>-Original Message- >From: Ioana Ciornei >Sent: Thursday, September 10, 2020 3:29 PM >To: Priyanka Jain ; joe.hershber...@ni.com; u- >b...@lists.denx.de >Cc: Grigore Popescu ; Ioana Ciornei > >Subject: [PATCH] drivers: net: ldpaa_eth: lx2160a: fix bug in checking if a >DPMAC is enabled >

[PATCH] drivers: net: ldpaa_eth: lx2160a: fix bug in checking if a DPMAC is enabled

2020-09-10 Thread Ioana Ciornei
From: Grigore Popescu The next DPMAC was always verified if it is enabled. In case of DPMAC@6, the DPMAC@7 is verified. As DPMAC@7 is disabled, DPMAC@6 will be considered disabled and not detected by uboot. Signed-off-by: Grigore Popescu Signed-off-by: Ioana Ciornei ---