Re: [PATCH -mm v4][POWERPC] mpc8xxx : allow SPI without cs.

2009-06-19 Thread Rini van Zetten
his feature is needed on our home made board to program an onboard fpga. The fpga needs some special pin toggling to put it in programming mode. That's why we want to skip the usual gpio cs and do the pin toggling in our driver Signed-off-by: Rini van Zetten Acked-by: Anton Vorontsov ---

Re: [PATCH -mm v3][POWERPC] mpc8xxx : allow SPI without cs.

2009-06-19 Thread Rini van Zetten
On Jun 19, 2009, at 2:26 AM, Rini van Zetten wrote: This patch adds the possibility to have a spi device without a cs. For example, the dts file should look something like this: spi-controller { gpios = <&pio1 1 0 /* cs0 */ 0 /* cs1,

Re: [PATCH -mm v3][POWERPC] mpc8xxx : allow SPI without cs.

2009-06-19 Thread Rini van Zetten
d-off-by: Rini van Zetten --- Changes : patch against 2.6.30-rc8-mm1 style updates compiler warning fix comment : This feature is needed on our home made board to program an onboard fpga. The fpga needs some special pin toggling to put it in pr

[PATCH -mm][POWERPC] mpc8xxx : allow SPI without cs.

2009-06-17 Thread Rini van Zetten
Signed-off-by: Rini van Zetten --- Changes : patch against 2.6.30-rc8-mm1 --- drivers/spi/spi_mpc8xxx.c.org 2009-06-12 10:45:21.0 +0200 +++ drivers/spi/spi_mpc8xxx.c 2009-06-12 10:54:48.0 +0200 @@ -666,9 +666,10 @@ static void mpc8xxx_spi_cs_control(struc

[PATCH -mm][POWERPC] mpc8xxx : allow SPI without cs.

2009-06-12 Thread Rini van Zetten
Signed-off-by: Rini van Zetten --- Changes : patch against 2.6.30-rc8-mm1 --- drivers/spi/spi_mpc8xxx.c.org 2009-06-12 10:45:21.0 +0200 +++ drivers/spi/spi_mpc8xxx.c 2009-06-12 10:54:48.0 +0200 @@ -666,9 +666,10 @@ static void mpc8xxx_spi_cs_control(struc

Re: [PATCH][POWERPC] mpc83xx : allow SPI without cs.

2009-06-11 Thread Rini van Zetten
excuse me for my ignorance, but which -mm tree do you mean and where can I find it. Regards, Rini Kumar Gala schreef: On Jun 11, 2009, at 4:10 AM, Rini van Zetten wrote: This patch adds the possibility to have a spi device without a cs. For example, the dts file should look something like

[PATCH][POWERPC] mpc83xx : allow SPI without cs.

2009-06-11 Thread Rini van Zetten
Signed-off-by: Rini van Zetten --- drivers/spi/spi_mpc83xx.c | 44 +++- 1 files changed, 23 insertions(+), 21 deletions(-) diff --git a/drivers/spi/spi_mpc83xx.c b/drivers/spi/spi_mpc83xx.c index f4573a9..d06027e 100644 --- a/drivers/spi/spi_mpc83xx.c +++

[PATCH][POWERPC] mpc83xx : allow SPI without cs.

2009-05-13 Thread Rini van Zetten
Signed-off-by: Rini van Zetten --- drivers/spi/spi_mpc83xx.c | 44 +++- 1 files changed, 23 insertions(+), 21 deletions(-) diff --git a/drivers/spi/spi_mpc83xx.c b/drivers/spi/spi_mpc83xx.c index f4573a9..d06027e 100644 --- a/drivers/spi/spi_mpc83xx.c +++

[PATCH v2 net] gianfar : Do right check on num_txbdfree

2009-02-26 Thread Rini van Zetten
This patch fixes a wrong check on num_txbdfree. It could lead to num_txbdfree become nagative. Result was that the gianfar stops sending data. Changes from first version : - removed a space between parens (David Millers comment) - full email address in signed off line Signed-off-by: Rini van

[PATCH net] gianfar : Do right check on num_txbdfree

2009-02-26 Thread Rini van Zetten
This patch fixes a wrong check on num_txbdfree. It could lead to num_txbdfree become nagative. Result was that the gianfar stops sending data. Signed-off-by: Rini van Zetten --- drivers/net/gianfar.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net

gianfar device hangs when transmitting tcp frames

2009-02-25 Thread Rini van Zetten
Hi, We have a home made board with the mpc8377E. We use the latest linux kernel 2.6.29-rc6. The problem occurs when send a lot of tcp packet (eg by iperf as client) sometimes we get an watchdog timeout : see below. If we undo the commit : -#define BD_LENGTH_MASK 0x00ff +#define BD_LEN