[PATCH] net: fix OF fixed-link property handling on Freescale network device drivers

2009-07-03 Thread Grant Likely
From: Grant Likely The MDIO rework patches broke the handling of fixed MII links. This patch adds parsing of the fixed-link property to the gianfar, ucc-geth and fs_eth network drivers, and ensures that the MAC will work without a PHY attachment. Note: This patch does not use the dummy phy appr

Re: Inline assembly queries [2]

2009-07-03 Thread Andreas Schwab
kernel mailz writes: > My query was more on %U1%X1, I guess it is specifying U and/or X for %1 right > ? > what does U/X stand for (is it similar to u - unsigned and x for a hex > address) > are there any more literals like U/X/... The 'U' and 'X' modifiers expand to 'u' and 'x' resp, dependin

Re: Inline assembly queries [2]

2009-07-03 Thread Andreas Schwab
Brad Boyer writes: > On Fri, Jul 03, 2009 at 12:14:41PM +0530, kernel mailz wrote: >> b. using m or Z with a memory address. I tried replacing m/Z but no change >> Is there some guideline ? >> gcc documentation says Z is obsolete. Is m/Z replaceable ? > > No idea. I don't remember ever seeing 'Z

Re: Inline assembly queries [2]

2009-07-03 Thread kernel mailz
Hi Brad, Thanks for responding. My query was more on %U1%X1, I guess it is specifying U and/or X for %1 right ? what does U/X stand for (is it similar to u - unsigned and x for a hex address) are there any more literals like U/X/... -Manish On Fri, Jul 3, 2009 at 11:10 PM, Brad Boyer wrote: > On

Re: Inline assembly queries [2]

2009-07-03 Thread Brad Boyer
On Fri, Jul 03, 2009 at 12:14:41PM +0530, kernel mailz wrote: > Thanks for responding to my previous mail. A few more queries > > a. What is the use of adding format specifiers in inline assembly > like > asm volatile("ld%U1%X1 %0,%1":"=r"(ret) : "m"(*ptr) : "memory"); The format specifiers limit

Re: ppc405ex + gigabit ethernet

2009-07-03 Thread Lada Podivin
Many thanks for all responses! Now I know all I need to know :) ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: mpc52xx_uart.c - Port Overruns

2009-07-03 Thread Detlev Zundel
Hi Damien, > I am writing to ask about some particular behaviour we saw with the MPC5121 > PSC > UART, using the 2.6.24 Freescle BSP kernel, although examining the code of the > linux-2.6-denx tree (git commit 7cb16ec2590815a67e5fb5c8994ead536613d922), the > behavior is almost identical except fo

Re: [PATCH 1/2] ASoC: Fix mpc5200-psc-ac97 to ensure the data ready bit is cleared

2009-07-03 Thread Mark Brown
On Thu, Jul 02, 2009 at 11:57:19AM -0600, Grant Likely wrote: > From: Grant Likely > > When doing register reads, it is possible for there to be a stale > data ready bit set which will cause subsequent reads to return > prematurely with incorrect data. This patch fixes the issues by > ensuring s

Re: ppc405ex + gigabit ethernet

2009-07-03 Thread Lada Podivin
Hi Sylvain, the interrupt coalescing sounds like good idea - I'm surprised this feature is missing in the original ibm_newemac driver. You wrote you had got this optimisation directly from AMCC. Is it part of any framework? I'm just wondering how one can obtain it. I tried to find any suitable pat

Re: [Patch 2/6] Introduce PPC64 specific Hardware Breakpoint interfaces

2009-07-03 Thread K.Prasad
On Fri, Jun 19, 2009 at 03:04:09PM +1000, David Gibson wrote: > On Thu, Jun 18, 2009 at 11:50:45PM +0530, K.Prasad wrote: > > On Wed, Jun 17, 2009 at 02:32:24PM +1000, David Gibson wrote: > > > On Wed, Jun 10, 2009 at 02:38:06PM +0530, K.Prasad wrote: > [snip] With apologies for the long delay her

Re: [PATCH 2/2] ASoC: add locking to mpc5200-psc-ac97 driver

2009-07-03 Thread Grant Likely
On Thu, Jul 2, 2009 at 1:08 PM, michael wrote: > Hi, > > Grant Likely wrote: >> >> From: Grant Likely >> >> AC97 bus register read/write hooks need to provide locking, but the >> mpc5200-psc-ac97 driver does not.  This patch adds a mutex around >> the register access routines. >> >> Signed-off-by:

Re: [spi-devel-general] [PATCH v4] powerpc/5200: Add mpc5200-spi (non-PSC) device driver

2009-07-03 Thread Grant Likely
On Thu, Jun 18, 2009 at 8:26 AM, Wolfram Sang wrote: >> There used to be a sysfs interface for dumping these, but it was an >> ugly misuse.  I'd like to leave these in.  I still have the sysfs bits >> in a private patch and I'm going to rework them for debugfs. > > Okay. Maybe a comment stating the