RE: [PATCH] net: dsa: Fix OF fallback lookup for ports

2023-05-15 Thread Claudiu Manoil
> -Original Message- > From: Marcus Comstedt > Sent: Monday, May 15, 2023 6:44 PM > To: u-boot@lists.denx.de > Cc: Marcus Comstedt ; Claudiu Manoil > ; Joe Hershberger ; > Ramon Fried > Subject: [PATCH] net: dsa: Fix OF fallback lookup for ports > > T

RE: [PATCH v4 2/7] net: phy: introduce fixed_phy_create for DSA CPU ports

2021-01-27 Thread Claudiu Manoil
>-Original Message- >From: Vladimir Oltean >Sent: Monday, January 25, 2021 2:24 PM >To: Tom Rini ; Joe Hershberger >; Simon Glass ; Bin Meng >; u-boot@lists.denx.de >Cc: Michael Walle ; Alexandru Marginean >; Claudiu Manoil > >Subject: [PATCH v4 2/7] net: p

RE: [PATCH v4 1/7] net: phy: fixed: support speeds of 2500 and 10000

2021-01-27 Thread Claudiu Manoil
>-Original Message- >From: Vladimir Oltean >Sent: Monday, January 25, 2021 2:24 PM >To: Tom Rini ; Joe Hershberger >; Simon Glass ; Bin Meng >; u-boot@lists.denx.de >Cc: Michael Walle ; Alexandru Marginean >; Claudiu Manoil > >Subject: [PATCH v4 1/7] n

RE: [PATCH v2 3/5] drivers: net: Add Felix DSA switch driver

2021-01-20 Thread Claudiu Manoil
>-Original Message- >From: Michael Walle >Sent: Wednesday, January 20, 2021 12:44 AM >To: Claudiu Manoil >Cc: Joe Hershberger ; Simon Glass >; Bin Meng ; u- >b...@lists.denx.de; Vladimir Oltean ; Alexandru >Marginean >Subject: Re: [PATCH v2 3/5] drivers: net:

[PATCH v2 4/5] arm: dts: ls1028a: Add Ethernet switch node and dependencies

2021-01-19 Thread Claudiu Manoil
to the switch on LS1028A, it is not used in U-Boot and was disabled. Ethernet port aliases were also added to better manage the multitude of ports available now. Signed-off-by: Alex Marginean Signed-off-by: Claudiu Manoil --- v2: Switch node structure defined in dtsi now consistent with the Linux switch

[PATCH v2 3/5] drivers: net: Add Felix DSA switch driver

2021-01-19 Thread Claudiu Manoil
be used with the typical network commands like tftp. Signed-off-by: Alex Marginean Signed-off-by: Vladimir Oltean Signed-off-by: Claudiu Manoil --- v2: none drivers/net/fsl_enetc.h | 5 + drivers/net/mscc_eswitch/Kconfig| 8 + drivers/net/mscc_eswitch/Makefile

[PATCH v2 5/5] configs: ls1028a: Enable the Ethernet switch driver in defconfig

2021-01-19 Thread Claudiu Manoil
From: Alex Marginean The switch driver for LS1028A Ethernet switch is now compiled in for both LS1028A boards. Signed-off-by: Alex Marginean Signed-off-by: Claudiu Manoil --- v2: none configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 2 ++ configs/ls1028aqds_tfa_defconfig | 2

[PATCH v2 1/5] net: Introduce DSA class for Ethernet switches

2021-01-19 Thread Claudiu Manoil
and they are expected to support the typical networking commands. DSA switches may be cascaded, DSA class code does not currently support this. Signed-off-by: Alex Marginean Signed-off-by: Claudiu Manoil Reviewed-by: Simon Glass --- v2: none drivers/net/Kconfig| 14 ++ include/dm/uclass-id.h

[PATCH v2 2/5] sandbox: Add a DSA sandbox driver and unit test

2021-01-19 Thread Claudiu Manoil
e made with the addition of extra eth interfaces used by the dsa unit tests. The additional eth interfaces also require MAC addresses, these have been added to the sandbox default environment. Signed-off-by: Alex Marginean Signed-off-by: Claudiu Manoil Reviewed-by: Simon Glass --- v2: none arch/K

[PATCH v2 0/5] Introduce DSA Ethernet switch class and Felix driver

2021-01-19 Thread Claudiu Manoil
et: Add Felix DSA switch driver arm: dts: ls1028a: Add Ethernet switch node and dependencies configs: ls1028a: Enable the Ethernet switch driver in defconfig Claudiu Manoil (2): net: Introduce DSA class for Ethernet switches sandbox: Add a DSA sandbox driver and unit test arch/Kconfig

RE: [PATCH 4/5] arm: dts: ls1028a: Add Ethernet switch node and dependencies

2021-01-15 Thread Claudiu Manoil
>-Original Message- >From: Michael Walle >Sent: Thursday, January 14, 2021 5:40 PM >To: Claudiu Manoil >Cc: Joe Hershberger ; Simon Glass >; Bin Meng ; u- >b...@lists.denx.de; Vladimir Oltean ; Alexandru >Marginean >Subject: Re: [PATCH 4/5] arm: dts: ls1028

RE: [PATCH 1/5] net: Introduce DSA class for Ethernet switches

2021-01-15 Thread Claudiu Manoil
>-Original Message- >From: Simon Glass >Sent: Thursday, January 14, 2021 5:42 PM >To: Claudiu Manoil >Cc: Joe Hershberger ; Bin Meng >; Michael Walle ; U-Boot Mailing >List ; Vladimir Oltean ; >Alexandru Marginean >Subject: Re: [PATCH 1/5] net: Introduce DSA

RE: [PATCH 4/5] arm: dts: ls1028a: Add Ethernet switch node and dependencies

2021-01-14 Thread Claudiu Manoil
>-Original Message- >From: Michael Walle >Sent: Wednesday, January 13, 2021 10:11 PM [...] >> --- a/arch/arm/dts/fsl-ls1028a.dtsi >> +++ b/arch/arm/dts/fsl-ls1028a.dtsi >> @@ -14,6 +14,17 @@ >> #address-cells = <2>; >> #size-cells = <2>; >> >> +aliases { >> +

[PATCH 4/5] arm: dts: ls1028a: Add Ethernet switch node and dependencies

2021-01-13 Thread Claudiu Manoil
the multitude of ports available now, and to enforce the order in which master and slave ports are probed. Signed-off-by: Alex Marginean Signed-off-by: Claudiu Manoil --- arch/arm/dts/fsl-ls1028a-rdb.dts | 36 + arch/arm/dts/fsl-ls1028a.dtsi| 55 +++- 2

[PATCH 2/5] sandbox: Add a DSA sandbox driver and unit test

2021-01-13 Thread Claudiu Manoil
e made with the addition of extra eth interfaces used by the dsa unit tests. The additional eth interfaces also require MAC addresses, these have been added to the sandbox default environment. Signed-off-by: Alex Marginean Signed-off-by: Claudiu Manoil --- arch/Kconfig | 1 + arch/sandb

[PATCH 3/5] drivers: net: Add Felix DSA switch driver

2021-01-13 Thread Claudiu Manoil
be used with the typical network commands like tftp. Signed-off-by: Alex Marginean Signed-off-by: Vladimir Oltean Signed-off-by: Claudiu Manoil --- drivers/net/fsl_enetc.h | 5 + drivers/net/mscc_eswitch/Kconfig| 8 + drivers/net/mscc_eswitch/Makefile | 1

[PATCH 5/5] configs: ls1028a: Enable the Ethernet switch driver in defconfig

2021-01-13 Thread Claudiu Manoil
From: Alex Marginean The switch driver for LS1028A Ethernet switch is now compiled in for both LS1028A boards. Signed-off-by: Alex Marginean Signed-off-by: Claudiu Manoil --- configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 2 ++ configs/ls1028aqds_tfa_defconfig | 2 ++ configs

[PATCH 1/5] net: Introduce DSA class for Ethernet switches

2021-01-13 Thread Claudiu Manoil
and they are expected to support the typical networking commands. DSA switches may be cascaded, DSA class code does not currently support this. Signed-off-by: Alex Marginean Signed-off-by: Claudiu Manoil --- drivers/net/Kconfig| 14 ++ include/dm/uclass-id.h | 1 + include/net.h | 6

[PATCH 0/5] Introduce DSA Ethernet switch class and Felix driver

2021-01-13 Thread Claudiu Manoil
ce the last submission, except for the DSA API function calls. Alex Marginean (3): drivers: net: Add Felix DSA switch driver arm: dts: ls1028a: Add Ethernet switch node and dependencies configs: ls1028a: Enable the Ethernet switch driver in defconfig Claudiu Manoil (2): net: Introduce DSA

RE: [PATCH v4 2/6] drivers: net: add a DSA sandbox driver

2020-07-24 Thread Claudiu Manoil
>-Original Message- >From: Priyanka Jain (OSS) [...] > >Kindly fix build error for target >BUILDMAN="sandbox x86" TOOLCHAIN="i386" > >https://travis-ci.org/github/p-priyanka-jain/u-boot/jobs/711090082 > > Hi Priyanka, I will look into rebasing the patches and addressing these new

RE: [PATCH v4 0/6] Introduce DSA Ethernet switch class and Felix driver

2020-05-29 Thread Claudiu Manoil
>-Original Message- >From: U-Boot On Behalf Of Claudiu Manoil >Sent: Tuesday, May 5, 2020 8:43 PM >To: u-boot@lists.denx.de >Cc: joe.hershber...@ni.com; Alexandru Marginean >; Vladimir Oltean > >Subject: [PATCH v4 0/6] Introduce DSA Ethernet switch class and Fel

[PATCH v4 4/6] drivers: net: add Felix DSA switch driver

2020-05-05 Thread Claudiu Manoil
be used with the typical network commands like tftp. Signed-off-by: Alex Marginean Tested-by: Michael Walle Signed-off-by: Vladimir Oltean Signed-off-by: Claudiu Manoil --- drivers/net/fsl_enetc.h | 5 + drivers/net/mscc_eswitch/Kconfig| 8 + drivers/net

[PATCH v4 1/6] net: introduce DSA class for Ethernet switches

2020-05-05 Thread Claudiu Manoil
devices in U-Boot and they are expected to support the typical networking commands. DSA switches may be cascaded, DSA class code does not currently support this. Signed-off-by: Alex Marginean Signed-off-by: Vladimir Oltean Signed-off-by: Claudiu Manoil --- drivers/net/Kconfig| 13

[PATCH v4 3/6] test: dm: add a simple unit test for DSA class

2020-05-05 Thread Claudiu Manoil
. Signed-off-by: Alex Marginean Signed-off-by: Claudiu Manoil --- arch/Kconfig | 1 + arch/sandbox/dts/test.dts | 49 + include/configs/sandbox.h | 4 +++ test/dm/Makefile | 1 + test/dm/dsa.c | 58

[PATCH v4 6/6] configs: ls1028a: enable the Ethernet switch driver in defconfig

2020-05-05 Thread Claudiu Manoil
From: Alex Marginean The switch driver for LS1028A Ethernet switch is now compiled in for both LS1028A boards. Signed-off-by: Alex Marginean Signed-off-by: Claudiu Manoil --- configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 2 ++ configs/ls1028aqds_tfa_defconfig | 2 ++ configs

[PATCH v4 2/6] drivers: net: add a DSA sandbox driver

2020-05-05 Thread Claudiu Manoil
. Signed-off-by: Alex Marginean Signed-off-by: Claudiu Manoil --- drivers/net/Kconfig | 8 ++ drivers/net/Makefile | 1 + drivers/net/dsa_sandbox.c | 272 ++ 3 files changed, 281 insertions(+) create mode 100644 drivers/net/dsa_sandbox.c diff

[PATCH v4 0/6] Introduce DSA Ethernet switch class and Felix driver

2020-05-05 Thread Claudiu Manoil
DSA stands for Distributed Switch Architecture and it is a subsystem introduced in the Linux kernel to support switches that: - have an Ethernet link up to the CPU - use some form of tagging to identify the source/destination port for Rx/Tx - may be cascaded in tree-like structures. DSA is

[PATCH v4 5/6] arm: dts: ls1028a: adds Ethernet switch node and its dependencies

2020-05-05 Thread Claudiu Manoil
of ports available now, and to enforce the order in which master and slave ports are probed. Signed-off-by: Alex Marginean Tested-by: Michael Walle Signed-off-by: Claudiu Manoil --- arch/arm/dts/fsl-ls1028a-rdb.dts | 36 + arch/arm/dts/fsl-ls1028a.dtsi| 55

Re: [U-Boot] ls1021atwr: Convert to use driver model TSEC driver

2018-07-17 Thread Claudiu Manoil
>-Original Message- >From: Bin Meng [mailto:bmeng...@gmail.com] >Sent: Tuesday, July 10, 2018 5:43 AM >To: York Sun >Cc: Alison Wang ; Prabhakar Kushwaha >; U-Boot Mailing List ; >Claudiu Manoil >Subject: Re: ls1021atwr: Convert to use driver model TSEC driver

[U-Boot] [PATCH] ls102xa: etsec: Use proper settings for BE BDs

2015-08-12 Thread Claudiu Manoil
in accordance with the H/W specifications. Fixes: 52d00a8 ls102xa: etsec: Add etsec support for LS102xA Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 2 +- board/freescale/ls1021aqds/ls1021aqds.c | 3 ++- board/freescale

[U-Boot] net: tsec: Pending patches

2014-02-14 Thread Claudiu Manoil
Hello, Would you please consider applying these two net tree patches? http://patchwork.ozlabs.org/patch/299620/ (net: Merge asm/fsl_enet.h into fsl_mdio.h) http://patchwork.ozlabs.org/patch/299447/ (net: tsec: Fix NULL access in case init_phy() fails) Thanks, Claudiu

[U-Boot] [PATCH] powerpc/p1_p2_rdb_pc: Fix warnings for __iomem pointers

2013-12-10 Thread Claudiu Manoil
) p1_p2_rdb_pc.c:373:24:expected struct tsec_mii_mng [noderef] asn:2*regs p1_p2_rdb_pc.c:373:24:got struct tsec_mii_mng *noident Use TSEC_GET_MDIO_REGS_BASE() for the remaining mdio 'regs' initializations to remove the __iomem warnings and for consistency. Signed-off-by: Claudiu Manoil

[U-Boot] [PATCH 2/2] net: Merge asm/fsl_enet.h into fsl_mdio.h

2013-12-10 Thread Claudiu Manoil
dependency, merge the content of asm/fsl_enet.h into fsl_mdio.h. Some files (like fm_eth.h) were simply including fsl_enet.h only for phy.h. These were updated to include phy.h instead. Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- arch/powerpc/include/asm/fsl_enet.h | 24

[U-Boot] [PATCH 1/2] net: tsec: Fix NULL access in case init_phy() fails

2013-12-10 Thread Claudiu Manoil
If the PHY is not recognized don't access phydev (NULL) and return 0 to signal failure. Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- drivers/net/tsec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index e9138f0..65fb2b0 100644

Re: [U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-07 Thread Claudiu Manoil
On 10/5/2013 5:49 PM, Timur Tabi wrote: On Sat, Oct 5, 2013 at 9:31 AM, Timur Tabi ti...@tabi.org wrote: + out_be32(regs-tbase, (u32)txbd[0]); + out_be32(regs-rbase, (u32)rxbd[0]); rxbd[0] is a virtual address. Doesn't rbase require a physical address? You're assuming that virt == phys.

Re: [U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-07 Thread Claudiu Manoil
On 10/5/2013 5:31 PM, Timur Tabi wrote: On Fri, Oct 4, 2013 at 11:25 AM, Claudiu Manoil claudiu.man...@freescale.com wrote: [v3] declaring the BDs as __iomem to avoid casting submitted: http://patchwork.ozlabs.org/patch/280664/ + out_be32(regs-tbase, (u32)txbd[0]); + out_be32(regs-rbase

Re: [U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-04 Thread Claudiu Manoil
On 10/3/2013 9:37 PM, Scott Wood wrote: On Thu, 2013-10-03 at 14:48 +0300, Claudiu Manoil wrote: +static inline u16 read_txbd_stat(uint idx) +{ + return in_be16((u16 __iomem *)txbd[idx].status); +} + +static inline void write_txbd_stat(uint idx, u16 status) +{ + out_be16((u16

Re: [U-Boot] [PATCH 7/9] net: tsec: Use portable types and accessors for BDs

2013-10-04 Thread Claudiu Manoil
On 10/4/2013 6:12 AM, Timur Tabi wrote: On Mon, Sep 30, 2013 at 4:44 AM, Claudiu Manoil claudiu.man...@freescale.com wrote: +#define GET_BD_STAT(T, i) be16_to_cpu((__force __be16)T##BD(i).status) +#define SET_BD_STAT(T, i, v) T##BD(i).status = (__force __u16)cpu_to_be16(v) +#define GET_BD_BLEN

[U-Boot] [PATCH 7/9][v3] net: tsec: Use portable types and accessors for BDs

2013-10-04 Thread Claudiu Manoil
the correctness of these changes. Cc: Scott Wood scottw...@freescale.com Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- v2: * used portable I/O accessors (in_be/out_be) * replaced macro usage * retested on p1020 (ping, tftp) v3: * txbd, rxbd declared as __iomem to avoid casting

Re: [U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-04 Thread Claudiu Manoil
On 10/4/2013 6:50 PM, Scott Wood wrote: On Fri, 2013-10-04 at 11:27 +0300, Claudiu Manoil wrote: On 10/3/2013 9:37 PM, Scott Wood wrote: On Thu, 2013-10-03 at 14:48 +0300, Claudiu Manoil wrote: +static inline u16 read_txbd_stat(uint idx) +{ + return in_be16((u16 __iomem *)txbd[idx

[U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-03 Thread Claudiu Manoil
the correctness of these changes. Cc: Scott Wood scottw...@freescale.com Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- v2: * used portable I/O accessors (in_be/out_be) * replaced macro usage * retested on p1020 (ping, tftp) drivers/net/tsec.c | 108

Re: [U-Boot] [PATCH 7/9] net: tsec: Use portable types and accessors for BDs

2013-10-03 Thread Claudiu Manoil
On 10/3/2013 1:15 AM, Scott Wood wrote: [snip] Yeah, it doesn't help when both types of accesses show up when searching for the ring, and accessors exist with both possible argument orderings. Especially when a driver has custom accessors. It's OK to use explicit synchronization rather than

Re: [U-Boot] [PATCH 7/9] net: tsec: Use portable types and accessors for BDs

2013-10-02 Thread Claudiu Manoil
On 10/1/2013 9:50 PM, Scott Wood wrote: On Tue, 2013-10-01 at 14:38 +0300, Claudiu Manoil wrote: On 10/1/2013 2:22 AM, Scott Wood wrote: On Mon, 2013-09-30 at 12:44 +0300, Claudiu Manoil wrote: +static RTXBD rtx __aligned(8); +#define RXBD(i) rtx.rxbd[i] +#define TXBD(i) rtx.txbd[i] +#define

Re: [U-Boot] [PATCH 7/9] net: tsec: Use portable types and accessors for BDs

2013-10-01 Thread Claudiu Manoil
On 10/1/2013 2:22 AM, Scott Wood wrote: On Mon, 2013-09-30 at 12:44 +0300, Claudiu Manoil wrote: +static RTXBD rtx __aligned(8); +#define RXBD(i) rtx.rxbd[i] +#define TXBD(i) rtx.txbd[i] +#define GET_BD_STAT(T, i) be16_to_cpu((__force __be16)T##BD(i).status) +#define SET_BD_STAT(T, i, v) T

[U-Boot] [PATCH 1/9] net: Fix mcast function pointer prototype

2013-09-30 Thread Claudiu Manoil
-by: Claudiu Manoil claudiu.man...@freescale.com --- drivers/net/rtl8139.c | 2 +- drivers/net/tsec.c| 4 ++-- include/net.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c index 4186699..208ce5c 100644 --- a/drivers/net

[U-Boot] [PATCH 5/9] net: fsl_mdio: Fix warnings for __iomem pointers

2013-09-30 Thread Claudiu Manoil
[noderef] asn:2*phyregs_sgmii [...] tsec.c:680:19: warning: incorrect type in assignment (different address spaces) tsec.c:680:19:expected struct tsec_mii_mng *regs tsec.c:680:19:got struct tsec_mii_mng [noderef] asn:2*noident [...] Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com

[U-Boot] [PATCH 3/9] net: tsec: Fix priv pointer in tsec_mcast_addr()

2013-09-30 Thread Claudiu Manoil
leads to removal of the unused (faulty) privlist[] and related global static vars. Note that mcast() can be called only after eth_device allocation and init, and hence after priv area allocation, so dev-priv is correctly initialized upon mcast() call. Signed-off-by: Claudiu Manoil claudiu.man

[U-Boot] [PATCH 0/9] net: tsec: Driver portability fixes and cleanup

2013-09-30 Thread Claudiu Manoil
(see NetReceive(), NetRxPackets[]). Claudiu Manoil (9): net: Fix mcast function pointer prototype net: tsec: Fix and cleanup tsec_mcast_addr() net: tsec: Fix priv pointer in tsec_mcast_addr() net: tsec: Cleanup tsec regs init and fix __iomem warns net: fsl_mdio: Fix warnings for __iomem

[U-Boot] [PATCH 4/9] net: tsec: Cleanup tsec regs init and fix __iomem warns

2013-09-30 Thread Claudiu Manoil
mapped register regions. This solves the sparse warnings for mixig normal pointers with __iomem pointers for tsec. Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- drivers/net/tsec.c | 26 +- include/tsec.h | 39 +-- 2

[U-Boot] [PATCH 9/9] net: tsec: Fix mac addr setup portability, cleanup

2013-09-30 Thread Claudiu Manoil
: tempval. Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- drivers/net/tsec.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 5dfdc94..44cead9 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c

[U-Boot] [PATCH 8/9] net: tsec: Use portable regs type (uint-u32)

2013-09-30 Thread Claudiu Manoil
Use cross arch portable u32 instead of uint for the tsec registers. Remove the typedefs for the register struct definitions in the process. Fix long lines. Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- drivers/net/tsec.c | 2 +- include/tsec.h | 278

[U-Boot] [PATCH 6/9] net: tsec: Fix CamelCase issues around BD code

2013-09-30 Thread Claudiu Manoil
Fix bufPtr and the rxIdx/ txIdx occurrences to solve the related checkpatch warnings for the coming patches. Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- drivers/net/tsec.c | 60 +++--- include/tsec.h | 4 ++-- 2 files

[U-Boot] [PATCH 7/9] net: tsec: Use portable types and accessors for BDs

2013-09-30 Thread Claudiu Manoil
to insure that the big endian buffer descriptors are correctly accessed by the little endian cpus too. Sparse tool was also used to verify the correctness of these conversion macros. Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- drivers/net/tsec.c | 89

[U-Boot] [PATCH 2/9] net: tsec: Fix and cleanup tsec_mcast_addr()

2013-09-30 Thread Claudiu Manoil
* corrected some comment slips Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- drivers/net/tsec.c | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 3428dd0..9ffc801 100644 --- a/drivers/net

[U-Boot] [PATCH 2/3] net: tsec: Fix and cleanup tsec_mcast_addr()

2013-09-10 Thread Claudiu Manoil
* corrected some comment slips Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- drivers/net/tsec.c | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 3428dd0..9ffc801 100644 --- a/drivers/net

[U-Boot] [PATCH 1/3] net: Fix mcast function pointer prototype

2013-09-10 Thread Claudiu Manoil
-by: Claudiu Manoil claudiu.man...@freescale.com --- drivers/net/rtl8139.c | 2 +- drivers/net/tsec.c| 4 ++-- include/net.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c index 4186699..208ce5c 100644 --- a/drivers/net

[U-Boot] [PATCH 3/3] net: tsec: Fix priv pointer in tsec_mcast_addr()

2013-09-10 Thread Claudiu Manoil
leads to removal of the unused (faulty) privlist[] and related global static vars. Note that mcast() can be called only after eth_device allocation and init, and hence after priv area allocation, so dev-priv is correctly initialized upon mcast() call. Signed-off-by: Claudiu Manoil claudiu.man

[U-Boot] [PATCH 0/3] net: tsec: Fixes for mcast() in the tsec driver

2013-09-10 Thread Claudiu Manoil
...@gmail.com Claudiu Manoil (3): net: Fix mcast function pointer prototype net: tsec: Fix and cleanup tsec_mcast_addr() net: tsec: Fix priv pointer in tsec_mcast_addr() drivers/net/rtl8139.c | 2 +- drivers/net/tsec.c| 47 --- include/net.h