[PATCH] net: eth: altera: Resolve false errors from MSGDMA to TSE

2015-04-24 Thread Vince Bridgers
. Signed-off-by: Chee Nouk Phoon Signed-off-by: Vince Bridgers a Cc: Andreas Oetken --- drivers/net/ethernet/altera/altera_msgdmahw.h | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/ethernet/altera/altera_msgdmahw.h b/drivers/net/ethernet/altera/altera_msgdmahw.h

[PATCH net 0/5] stmmac: Correct flow control configuration

2015-04-15 Thread Vince Bridgers
control operates as expected when enabled. Please consider this series for inclusion so that flow control will function as expected for the Synopsys GMAC controller. Vince Bridgers (5): stmmac: Add properties for transmit and receive fifo sizes stmmac: Add defines and documentation for enabling

[PATCH net 3/5] stmmac: Read tx-fifo-depth and rx-fifo-depth from the devicetree

2015-04-15 Thread Vince Bridgers
Read the tx-fifo-depth and rx-fifo-depth from the devicetree. The Synopsys stmmac controller fifos are configurable per product instance, and the fifo sizes are needed to configure certain features correctly such as flow control. Signed-off-by: Vince Bridgers --- drivers/net/ethernet/stmicro

[PATCH net 5/5] stmmac: Configure Flow Control to work correctly based on rxfifo size

2015-04-15 Thread Vince Bridgers
found in the devicetree. Signed-off-by: Vince Bridgers --- drivers/net/ethernet/stmicro/stmmac/common.h | 5 +++-- .../net/ethernet/stmicro/stmmac/dwmac1000_dma.c| 26 +- drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c | 2 +- drivers/net/ethernet/stmicro/s

[PATCH net 4/5] stmmac: Enable unicast pause frame detect in GMAC Register 6

2015-04-15 Thread Vince Bridgers
either the reserved multicast address or the unique physical address associated with this station. Signed-off-by: Vince Bridgers --- drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac

[PATCH net 1/5] stmmac: Add properties for transmit and receive fifo sizes

2015-04-15 Thread Vince Bridgers
The Synopsys stmmac fifo sizes are configurable, and need to be known in order to configure certain controller features. This patch adds tx-fifo-depth and rx-fifo-depth properties to the stmmac document file. Signed-off-by: Vince Bridgers --- Documentation/devicetree/bindings/net/ethernet.txt

[PATCH net 2/5] stmmac: Add defines and documentation for enabling flow control

2015-04-15 Thread Vince Bridgers
Add defines and documentation for enabling flow control on the stmmac. Flow control was not implemented correctly on the stmmac driver and is currently non-functional as a result. This is the first in a series of small patches to correctly implement this feature. Signed-off-by: Vince Bridgers

[PATCH 1/2] ARM: socfpga: dts: Add multicast bins and unicast filter entries

2015-04-20 Thread Vince Bridgers
Add multicast-filter-bins and perfect-filter-entries configuration properties to the socfpga devicetree for the Arria 10 socfpga. Signed-off-by: Vince Bridgers --- This patch is based on patches http://www.spinics.net/lists/devicetree/msg75270.html http://www.spinics.net/lists/devicetree

[PATCH 2/2] ARM: socfpga: dts: Add tx-fifo-depth and rx-fifo-depth properties

2015-04-20 Thread Vince Bridgers
Add tx-fifo-depth and rx-fifo-depth devicetree properties for socfpga stmmac. These devicetree properties will be used to configure certain features of the stmmac on the socfpga. Signed-off-by: Vince Bridgers --- This patch is based on patches http://www.spinics.net/lists/devicetree/msg75270

Re: [PATCH] Altera TSE: ALTERA_TSE should depend on HAS_DMA

2014-05-02 Thread Vince Bridgers
ference to `dma_sync_single_for_cpu' > drivers/built-in.o: In function `sgdma_rx_status': > (.text+0x25fa24): undefined reference to `dma_sync_single_for_cpu' > make[3]: *** [vmlinux] Error 1 > > Signed-off-by: Geert Uytterhoeven > --- Acked-by: Vince Bridgers Thanks Geert,

Re: [PATCH net-next 1/7] altera: Remove casts of pointer to same type

2014-03-24 Thread Vince Bridgers
; > @@ > > - (T *)foo > + foo > > Signed-off-by: Joe Perches > --- Acked-by: Vince Bridgers All the best, Vince -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: linux-next: build failure after merge of the net tree

2014-07-23 Thread Vince Bridgers
Hi all, On Mon, Jul 7, 2014 at 9:53 PM, David Miller wrote: > From: Stephen Rothwell > Date: Fri, 4 Jul 2014 11:39:07 +1000 > >> After merging the net tree, today's linux-next build (x86_64 >> allmodconfig) failed like this: >> >> ERROR: "phy_resume" [drivers/net/ethernet/stmicro/stmmac/stmmac.k

Re: linux-next: build failure after merge of the net tree

2014-07-23 Thread Vince Bridgers
On Wed, Jul 23, 2014 at 1:40 PM, Florian Fainelli wrote: > 2014-07-23 11:38 GMT-07:00 Vince Bridgers : >> Hi all, >> >> On Mon, Jul 7, 2014 at 9:53 PM, David Miller wrote: >>> From: Stephen Rothwell >>> Date: Fri, 4 Jul 2014 11:39:07 +1000 >>> >

Re: [PATCH] net: stmmac: add dcrs parameter

2014-08-25 Thread Vince Bridgers
Hi, On Mon, Aug 25, 2014 at 7:51 AM, Giuseppe CAVALLARO wrote: > On 8/25/2014 2:34 PM, Chen-Yu Tsai wrote: >> >> Hi, >> >> On Mon, Aug 25, 2014 at 7:50 PM, Ley Foon Tan wrote: >>> >>> This patch add the option to enable DCRS bit in GMAC control register. >>> Default is disabled if snps,dcrs is n

Re: [PATCH] net: stmmac: add dcrs parameter

2014-08-26 Thread Vince Bridgers
Hi Peppe, >> >> In the Synopsys EMAC case, carrier sense is used to stop transmitting >> if no carrier is sensed during a transmission. This is only useful if >> the media in use is true half duplex media (like obsolete 10Base2 or >> 10Base5). If no one in using true half duplex media, then is it

[PATCH net] stmmac: correct mc_filter local variable in set_filter and set_mac_addr call

2014-10-09 Thread Vince Bridgers
. Signed-off-by: Vince Bridgers --- drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c b/drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c index 5efe60e..0adcf73 100644

[PATCH] MAINTAINERS: Update contact information for Vince Bridgers

2014-10-09 Thread Vince Bridgers
Signed-off-by: Vince Bridgers --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9e315a4..c0c7fe6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -564,7 +564,7 @@ L: linux-al...@vger.kernel.org F: arch/alpha/ ALTERA TRIPLE

[PATCH net-next] altera_tse: Correct typo in obtaining tx_fifo_depth from devicetree

2015-02-23 Thread Vince Bridgers
From: Vlastimil Setka This patch corrects a typo in the way tx_fifo_depth is read from the devicetree. This patch was submitted by Vlastimil about a week ago, and is now cleaned up and resubmitted. Signed-off-by: Vlastimil Setka Signed-off-by: Vince Bridgers --- drivers/net/ethernet/altera

[PATCH net-next] altera_tse: Fixes in NAPI and interrupt handling paths

2015-02-23 Thread Vince Bridgers
oman Pisl Signed-off-by: Vince Bridgers --- drivers/net/ethernet/altera/altera_tse_main.c | 45 +-- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/drivers/net/ethernet/altera/altera_tse_main.c b/drivers/net/ethernet/altera/altera_tse_main.c index 91ad43

[PATCH] arm: socfpga: Correct SCU virtual mapping in socfpga

2015-02-11 Thread Vince Bridgers
Correct SCU virtual mapping that was causing this BUG message: "BUG: mapping for 0xfffec000 at 0xfffec000 out of vmalloc space" Signed-off-by: Vince Bridgers --- arch/arm/mach-socfpga/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/cor

[PATCH net] net: eth: altera: Change access ports to mdio for all xMII applications

2015-02-12 Thread Vince Bridgers
sters for SGMII applications. Signed-off-by: Vince Bridgers Tested-by: Kai Lin Ng Tested-by: Dalon Westergreen --- drivers/net/ethernet/altera/altera_tse_main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/altera/altera_tse_main.c b/drivers/net/

[PATCH net] net: eth: altera: Change reset_mac failure message masks from err to dbg

2015-02-12 Thread Vince Bridgers
This debug output is not really an error message since mac reset can fail if the phy clocks are gated, specifically when the phy has been placed in a powered down or isolation mode. The netdev output masks were changed from err to dbg, and comments added in the code. Signed-off-by: Vince Bridgers