Re: [RFC PATCH v0.1] net driver: mpc52xx fec

2007-08-13 Thread Domen Puncer
On 10/08/07 10:02 -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Aug 10, 2007 at 11:51:53AM +0200, Domen Puncer escreveu: > > +static u8 null_mac[6]; > > const OK. ... > > +static void fec_set_paddr(struct net_device *dev, u8 *mac) > > +{ > > + struct fec_priv *priv = netdev_priv(dev); > > +

Re: basic and stupid question on wait_event and wake_up

2007-08-13 Thread Domen Puncer
On 12/08/07 13:57 +, Ming Liu wrote: > Dear all, > I am reading LDD(V3) chapter 6 on the topic of wait_event(queue, condition) > and wake_up(queue) functions. I am quite confused on the sayings. One is > "Until condition evaluates to a true value, the process continues to > sleep", which loo

[PATCH] [294/2many] MAINTAINERS - LINUX FOR POWERPC EMBEDDED PPC8XX

2007-08-13 Thread joe
Add file pattern to MAINTAINER entry Signed-off-by: Joe Perches <[EMAIL PROTECTED]> diff --git a/MAINTAINERS b/MAINTAINERS index e295b18..896c8bf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2821,6 +2821,7 @@ M:[EMAIL PROTECTED] W: http://www.penguinppc.org/ L: linuxppc-embedd

[PATCH] [293/2many] MAINTAINERS - LINUX FOR POWERPC BOOT CODE

2007-08-13 Thread joe
Add file pattern to MAINTAINER entry Signed-off-by: Joe Perches <[EMAIL PROTECTED]> diff --git a/MAINTAINERS b/MAINTAINERS index 38810b7..e295b18 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2813,6 +2813,7 @@ M:[EMAIL PROTECTED] W: http://www.penguinppc.org/ L: linuxppc-embedd

[PATCH] [295/2many] MAINTAINERS - LINUX FOR POWERPC EMBEDDED PPC83XX AND PPC85XX

2007-08-13 Thread joe
Add file pattern to MAINTAINER entry Signed-off-by: Joe Perches <[EMAIL PROTECTED]> diff --git a/MAINTAINERS b/MAINTAINERS index 896c8bf..a289176 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2829,6 +2829,7 @@ M:[EMAIL PROTECTED] W: http://www.penguinppc.org/ L: linuxppc-embedd

[PATCH] [292/2many] MAINTAINERS - LINUX FOR POWERPC EMBEDDED PPC4XX

2007-08-13 Thread joe
Add file pattern to MAINTAINER entry Signed-off-by: Joe Perches <[EMAIL PROTECTED]> diff --git a/MAINTAINERS b/MAINTAINERS index 0862965..38810b7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2804,6 +2804,8 @@ M:[EMAIL PROTECTED] W: http://www.penguinppc.org/ L: linuxppc-embedd

Re: basic and stupid question on wait_event and wake_up

2007-08-13 Thread Ming Liu
Dear Domen, Thanks for your reply first. >I understand it this way: >- condition > Just checking the condition is one way (if you don't have a wake_up > source, like an interrupt), but that's not really what wait_event does. > It would be something like > while (condition) { >

[PATCH] [291/2many] MAINTAINERS - LINUX FOR POWERPC EMBEDDED MPC52XX

2007-08-13 Thread joe
Add file pattern to MAINTAINER entry Signed-off-by: Joe Perches <[EMAIL PROTECTED]> diff --git a/MAINTAINERS b/MAINTAINERS index 8282088..0862965 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2795,6 +2795,8 @@ W:http://www.penguinppc.org/ L: [EMAIL PROTECTED] L: linuxppc-embedd

Re: basic and stupid question on wait_event and wake_up

2007-08-13 Thread Domen Puncer
On 13/08/07 08:33 +, Ming Liu wrote: > Dear Domen, > Thanks for your reply first. > > >I understand it this way: > >- condition > > Just checking the condition is one way (if you don't have a wake_up > > source, like an interrupt), but that's not really what wait_event does. > > It would b

Re: basic and stupid question on wait_event and wake_up

2007-08-13 Thread Ming Liu
Dear Momen, OK. I see now. So you mean condition is only to judge whether a sleeping process could be waken up or not when wake_up() is executed in other processes or interrupt handlers. What really wakes the process up is still the function of wake_up, right? We just execute wake_up() and then

Re: basic and stupid question on wait_event and wake_up

2007-08-13 Thread Laurent Pinchart
On Monday 13 August 2007 11:22, Ming Liu wrote: > Dear Momen, > OK. I see now. So you mean condition is only to judge whether a sleeping > process could be waken up or not when wake_up() is executed in other > processes or interrupt handlers. What really wakes the process up is still > the function

Re: basic and stupid question on wait_event and wake_up

2007-08-13 Thread Domen Puncer
On 13/08/07 09:22 +, Ming Liu wrote: > Dear Momen, > OK. I see now. So you mean condition is only to judge whether a sleeping > process could be waken up or not when wake_up() is executed in other > processes or interrupt handlers. What really wakes the process up is still > the function of

Re: basic and stupid question on wait_event and wake_up

2007-08-13 Thread Ming Liu
Thank you so much for your explanation. Now I am quite clear on this topic. Domen, Sorry for my misspelling of your name. That should be "Domen" not "Momen". Sorry for that. :) BR Ming >From: Domen Puncer <[EMAIL PROTECTED]> >To: Ming Liu <[EMAIL PROTECTED]> >CC: Linuxppc-embedded@ozlabs.org

Re: [PATCH] [292/2many] MAINTAINERS - LINUX FOR POWERPC EMBEDDED PPC4XX

2007-08-13 Thread Josh Boyer
On Sun, 12 Aug 2007 23:31:11 -0700 [EMAIL PROTECTED] wrote: > Add file pattern to MAINTAINER entry > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> > > diff --git a/MAINTAINERS b/MAINTAINERS > index 0862965..38810b7 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -2804,6 +2804,8 @@ M:

Power Managment (mpc83xx)

2007-08-13 Thread Yoni Levin
I have mpc83xx, and I work with Linux 2.6 I am trying to use power management states. I succeed to get into D1 state (echo standby > /sys/power/state), And to waked up by GPIO. But when I try tried echo mem > /sys/power/state it waked up by reset (that stuck in the middle) Or echo disk > /sys

PCI BAR mapping problem

2007-08-13 Thread Johan Borkhuis
Hello, I am having some problems with the initialization of BAR registers of the PCI bus. I have a number of devices connected to the bus, which have a BAR-size of less than PAGE_SIZE. For example: 01:00.0 Network controller: VMIC: Unknown device 5565 (rev 01) Subsystem: PLX Technology,

Re: MPC755 L2 Cache data parity error

2007-08-13 Thread Chuck Brown
Did you ever solve this problem? I have a module with a similar architecture as the one you described and I can get this same data parity failure just by making the L2 cache private memory and copying a file into the L2 cache. Thanks Chuck Brown ___ L

MPC5200 and Bestcomm

2007-08-13 Thread Jon Smirl
We're starting a new MPC5200 project and I'm trying to track down the best kernel to start from. Is Sylvain's tree at http://www.246tnt.com/mpc52xx/ a good place to start? The git URLs from the web page don't work. Everything 5200 related in the trees at Secret Labs already appears to be merged. M

Re: Power Managment (mpc83xx)

2007-08-13 Thread Scott Wood
On Mon, Aug 13, 2007 at 02:44:50PM +0300, Yoni Levin wrote: > I have mpc83xx, and I work with Linux 2.6 > > I am trying to use power management states. > > I succeed to get into D1 state (echo standby > /sys/power/state), That's actually closer to D3hot than D1. It uses sleep mode, but does no

Re: MPC5200 and Bestcomm

2007-08-13 Thread Grant Likely
On 8/13/07, Jon Smirl <[EMAIL PROTECTED]> wrote: > We're starting a new MPC5200 project and I'm trying to track down the > best kernel to start from. Is Sylvain's tree at > http://www.246tnt.com/mpc52xx/ a good place to start? The git URLs > from the web page don't work. Everything 5200 related in

Re: MPC5200 and Bestcomm

2007-08-13 Thread Jon Smirl
On 8/13/07, Grant Likely <[EMAIL PROTECTED]> wrote: > On 8/13/07, Jon Smirl <[EMAIL PROTECTED]> wrote: > > We're starting a new MPC5200 project and I'm trying to track down the > > best kernel to start from. Is Sylvain's tree at > > http://www.246tnt.com/mpc52xx/ a good place to start? The git URLs

Re: MPC5200 and Bestcomm

2007-08-13 Thread Jon Smirl
Another series is being posted to the Efika boards. 0001-powerpc-exports-rheap-symbol-to-modules.patch 0002-powerpc-Changes-the-config-mechanism-for-rheap.patch 0003-powerpc-ppc32-Update-mpc52xx_psc-structure-with-B-r.patch 0004-powerpc-BestComm-core-support-for-Freescale-MPC5200.patch 0005-powerp

Re: [PATCH] [292/2many] MAINTAINERS - LINUX FOR POWERPC EMBEDDED PPC4XX

2007-08-13 Thread Joe Perches
On Mon, 2007-08-13 at 06:18 -0500, Josh Boyer wrote: > You're missing arch/ppc/platforms/4xx/, among other things. > Also, we're in the middle of merging 4xx to arch/powerpc. We can leave the whole block unmodified until you're ready. LINUX FOR POWERPC EMBEDDED PPC4XX P: Matt Porter M:

Re: [PATCH] [292/2many] MAINTAINERS - LINUX FOR POWERPC EMBEDDED PPC4XX

2007-08-13 Thread Josh Boyer
On Mon, 13 Aug 2007 10:35:01 -0700 Joe Perches <[EMAIL PROTECTED]> wrote: > On Mon, 2007-08-13 at 06:18 -0500, Josh Boyer wrote: > > You're missing arch/ppc/platforms/4xx/, among other things. > > Also, we're in the middle of merging 4xx to arch/powerpc. > > We can leave the whole block unmodifie

Re: MPC5200 and Bestcomm

2007-08-13 Thread Matt Sealey
The current (2.6.22) patchset for the Efika is being held here for the moment; http://dev.gentoo.org/~nixnut/efika/ That's everything you 'really need' and it's probably the same as this patch list. However practically none of it is mainline-worthy at the moment, Sylvain has detailed too many thi

Re: MPC5200 and Bestcomm

2007-08-13 Thread Bartlomiej Sieka
Grant Likely wrote: > On 8/13/07, Jon Smirl <[EMAIL PROTECTED]> wrote: >> We're starting a new MPC5200 project and I'm trying to track down >> the best kernel to start from. Is Sylvain's tree at >> http://www.246tnt.com/mpc52xx/ a good place to start? The git URLs >> from the web page don't work

Re: MPC5200 and Bestcomm

2007-08-13 Thread Jon Smirl
On 8/13/07, Matt Sealey <[EMAIL PROTECTED]> wrote: > I'll put in a decent request here for any work on this subject to > please at least attempt to retrieve the tasks from the Efika > firmware rather than replacing them in Linux gratuituously. > I understand this doesn't help the Lite5200 guys.. bu

[PATCH] tsec: Allow Ten Bit Interface to be configurable

2007-08-13 Thread Joe Hamman
Allow the address of the Ten Bit Interface (TBI) to be changed in the event of a conflict with another device. Signed-off by: Joe Hamman <[EMAIL PROTECTED]> --- diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 81ef81c..ba67b3b 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig

[PATCH] [UPDATED] tsec: Allow Ten Bit Interface to be configurable

2007-08-13 Thread Joe Hamman
Allow the address of the Ten Bit Interface (TBI) to be changed in the event of a conflict with another device. Signed-off by: Joe Hamman <[EMAIL PROTECTED]> --- Please ignore the last patch - I missed a cut & paste error on the range that my testing didn't catch. --- diff --git a/drivers/net/Kco

Xilinx EMAC driver for Linux in polling mode.

2007-08-13 Thread Leonid
Does anyboady have adapter.c file (or any source code) for Linux kernel driver for Xilinx EMAC IP core, WORKING in POLLING mode? For certain reasons I cannot use interrupt in my system. Thanks, Leonid. ___ Linuxppc-embedded mailing list Linuxppc-embedd

Bestcomm Firmware update

2007-08-13 Thread Frank Bennett
I wrote the disassembler below but never was able to get MPC5200/I2S DMA running. Hope you can further BestComm code Copy of Posting 3/30/2006: BestComm Dudes: I was able to contact Davide Santo, AN2604 "Introduction to BestComm". He admitted the short commings of his document in the a

Best Linux tree for Xilinx support.

2007-08-13 Thread Leonid
Hi: I have several boards with different architectures (Microblaze, PPC), running Linux/uClinux and using Xilinx IP cores. I use both Virtex and Spartan FPGAs. Historically I'm using different kernels for them, starting from uClinux 2.4, all way through Linux 2.6.16 and 2.6.19. I patched them her

Re: [PATCH] [UPDATED] tsec: Allow Ten Bit Interface to be configurable

2007-08-13 Thread Kumar Gala
On Aug 13, 2007, at 5:37 PM, Joe Hamman wrote: > Allow the address of the Ten Bit Interface (TBI) to be changed in the > event of a conflict with another device. > > Signed-off by: Joe Hamman <[EMAIL PROTECTED]> > --- > > Please ignore the last patch - I missed a cut & paste error on the > rang

RE: [PATCH] [UPDATED] tsec: Allow Ten Bit Interface to be configurable

2007-08-13 Thread Joe Hamman
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Monday, August 13, 2007 10:10 PM > To: [EMAIL PROTECTED] > Cc: linuxppc-embedded@ozlabs.org > Subject: Re: [PATCH] [UPDATED] tsec: Allow Ten Bit Interface to be > configurable > > > On Aug 13, 2007, at 5:37 PM, Joe

Re: Best Linux tree for Xilinx support.

2007-08-13 Thread Wolfgang Reissnegger
Hi Leonid, I am in the process of publishing a Xilinx Linux git tree which will contain most of the drivers for Xilinx IP including recent contributions from Grant Likely, John Williams, Joachim Foerster and others. This tree will be available on the Xilinx git server soon, however it will be a n