[PATCH] ll_temac: Add support for ethtool

2011-10-12 Thread Ricardo Ribalda Delgado
This patch enables the ethtool interface. The implementation is done using the libphy helper functions. Signed-off-by: Ricardo Ribalda Delgado --- drivers/net/ll_temac_main.c | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/drivers/net

Re: SD card over (xilinx_)SPI, timeout error while CID

2009-06-11 Thread Ricardo Ribalda Delgado
Hello Wolfgang > > This is with a 4xx core, right? Is this the same SPI controller design > like in AMCC's 40x and 44x cores, i. e. with a "FIFO" of depth 1? It is a ppc440 but it is does not have ans spi controller as in the amcc. The spi controller is a xilinx core allocated at the plb bus, in

Re: SD card over (xilinx_)SPI, timeout error while CID

2009-06-11 Thread Ricardo Ribalda Delgado
Hello Thanks for your reply > Is the I/O logged from within the Xilinx-SPI-Driver or from within the > mmc-spi-layer? It is take from inside the spi driver. > > The response to CMD10 seems quite strange to me. The R1 answer to that > command says that everything is OK, so what is done next is

Re: SD card over (xilinx_)SPI, timeout error while CID

2009-06-11 Thread Ricardo Ribalda Delgado
Hello, It seems that I am facing the same problem!. I attach another trace that also shows the sd I/O. I have also commented out the dma line at probe and no better results As you point, the card is unable to reply the cid. But not only that, after that failure the card replyies allway

Re: [PATCH] [MTD] ofpart: Partitions at same address cannot have thesame name v3

2009-04-30 Thread Ricardo Ribalda Delgado
Hello > > Ah!  After writing my original reply, I read the documentation, > and this had me confused. > > 4b08e14 looks wrong to me.  It also didn't update the documentation. So, what shall we do, revert 4b08e14 or apply this patch changing the name to "linux,mtd,partition" or similar ?

Re: [PATCH] [MTD] ofpart: Partitions at same address cannot have thesame name v3

2009-04-29 Thread Ricardo Ribalda Delgado
Hello Segher Thanks for your comments. > > Your special "partition" isn't really a partition then, is it. > Because of that, device nodes to represent your partitions doesn't > work very well. I think that they work pretty well. Unfortunately, since 4b08e149c0e02e97ec49c2a31d14a0d3a02f8074 all

[PATCH] [MTD] ofpart: Partitions at same address cannot have the same name v3

2009-04-24 Thread Ricardo Ribalda Delgado
Sometimes, an special partition is included in the device tree including all the partitions. Like in: partit...@ff00 { reg = < 0x00 0x80 >; label = "Root File System"; }; partit...@ff80 { reg = < 0x80 0x1a >; label = "Bitstream"; }; ... f...@ff00

Re: ofpart: Partitions at same address cannot have the same name

2009-04-22 Thread Ricardo Ribalda Delgado
Hello Scott It is definitively more elegant... Let me send tomorrow a patch On Wed, Apr 22, 2009 at 20:11, Scott Wood wrote: > Ricardo Ribalda Delgado wrote: >> >> Hi Scott >> >>> Perhaps "compatible" should be used instead? >> >> Wha

Re: ofpart: Partitions at same address cannot have the same name

2009-04-22 Thread Ricardo Ribalda Delgado
Hello Benjamin > Hi Recardo, > > I would suggest to do: > >                if (strcmp(partname, "partition") <= 0) { Anything alfabetically higher than partition (like "z" will pass the test :S) Regards > > cheers >  ben > > -- Ricardo Ribalda http://www.eps.uam.es/~rribalda/

Re: ofpart: Partitions at same address cannot have the same name

2009-04-22 Thread Ricardo Ribalda Delgado
Hi Scott > Perhaps "compatible" should be used instead? What do you mean? if (strcmp(partname, "partition") || strcmp(partname, "compatible") ) I can't see the advantages. > >> Hi Recardo, >> >> I would suggest to do: >> >>                if (strcmp(partname, "partition") <= 0) { > > Check wh

Re: [MTD] ofpart: Partitions at same address cannot have the same name

2009-04-22 Thread Ricardo Ribalda Delgado
Hello You are right, remove the -1. I thought that strlen gives the #of chars + 1 ('\0'). Thanks On Wed, Apr 22, 2009 at 11:24, Peter Korsgaard wrote: >>>>>> "Ricardo" == Ricardo Ribalda Delgado writes: > > Hi, > >  Ricardo> Some

ofpart: Partitions at same address cannot have the same name

2009-04-22 Thread Ricardo Ribalda Delgado
Sometimes, an special partition is included in the device tree including all the partitions. Like in: partit...@ff00 { reg = < 0x00 0x80 >; label = "Root File System"; }; partit...@ff80 { reg = < 0x80 0x1a >; label = "Bitstream"; }; ... partition

[MTD] ofpart: Partitions at same address cannot have the same name

2009-04-22 Thread Ricardo Ribalda Delgado
Sometimes, an special partition is included in the device tree including all the partitions. Like in: partit...@ff00 { reg = < 0x00 0x80 >; label = "Root File System"; }; partit...@ff80 { reg = < 0x80 0x1a >; label = "Bitstream"; }; ... parti

Xilinx EDK 10.1 and XUPV2P: A little report

2008-06-13 Thread Ricardo Ribalda Delgado
Hello list I have tried to port Linux 2.6 (xilinx git) to a XUPV2P board running a system implemented with EDK10.1 (Linux Version). I have fail, and I think I now why, this is a little report written for saving you some time (and maybe solving my problem if I am doing something wrong) The boar