Re: PHY not found after migration of gianfar driver to an of_platform_driver

2009-03-08 Thread Wolfgang Ocker
18] m...@24520:01 not found > [8.728330] eth1: Could not attach to PHY > [8.732945] m...@24520:01 not found > [8.737720] eth1: Could not attach to PHY I saw exactly the same symptoms on an 8560 board, and the patch below helped. But I have no idea what's going on there ... W

[PATCH] PowerPC/FSL/CPM1: Configure clock correctly for SCC

2010-03-29 Thread Wolfgang Ocker
The board setup functions call cpm1_clk_setup() to configure the clock source. If CPM_CLK_RTX has been used for the parameter mode, the clock has been configured only for TX but not for RX. Now CPM_CLK_RTX configures the clock for both directions correctly. Signed-off-by: Wolfgang Ocker

[PATCH v2] PowerPC/FSL/CPM: Configure clock correctly for SCC

2010-04-03 Thread Wolfgang Ocker
. Signed-off-by: Wolfgang Ocker --- v2: Scott Wood encouraged me to include a similar fix for CPM2. arch/powerpc/sysdev/cpm1.c | 14 +++--- arch/powerpc/sysdev/cpm2.c | 11 --- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/sysdev/cpm1.c b/arch/powerpc

[PATCH] fs-enet/mac-fec: Restore multicast and promiscous settings during restart

2010-08-12 Thread Wolfgang Ocker
Signed-off-by: Wolfgang Ocker --- drivers/net/fs_enet/mac-fec.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/net/fs_enet/mac-fec.c b/drivers/net/fs_enet/mac-fec.c index 7ca1642..05f4bb1 100644 --- a/drivers/net/fs_enet/mac-fec.c +++ b/drivers/net/fs_enet/mac

[PATCH] PPC440EP Interrupt Triggering and Level Settings

2008-02-10 Thread Wolfgang Ocker
From: Wolfgang Ocker <[EMAIL PROTECTED]> Corrected IRQ triggering and level settings according to latest revision of the 440EP User Manual (rev 1.24 nov 16, 2007). The incorrect settings might cause a failure of the network if both onchip ethernet ports are under heavy load. Signed-

[PATCH] PPC4xx compatible ioctl for PHY control

2008-08-26 Thread Wolfgang Ocker
From: Wolfgang Ocker <[EMAIL PROTECTED]> Made PHY access in ioctl() for newemac driver compatible to other devices. - Allow specification of PHY address in mii_ioctl_data->phy_id - Use mii_ioctl_data structure Signed-off-by: Wolfgang Ocker <[EMAIL PROTECTED]> --- --- linux-2.6.2

[PATCH] powerpc: SPI: specify chip select active high

2008-10-15 Thread Wolfgang Ocker
The patch allows to specify that an SPI device needs an active high chip select. Signed-off-by: Wolfgang Ocker <[EMAIL PROTECTED]> --- --- linux-2.6.27-rc7/drivers/of/of_spi.c.of_spi_cshigh 2008-09-22 00:29:55.0 +0200 +++ linux-2.6.27-rc7/drivers/of/of_spi.c2008-09-29

[PATCH] powerpc: Specify GPIO number base for controller in DT

2008-10-23 Thread Wolfgang Ocker
: Wolfgang Ocker <[EMAIL PROTECTED]> --- --- linux-2.6.27-rc7/drivers/of/gpio.c.of_gpiospecbase 2008-09-22 00:29:55.0 +0200 +++ linux-2.6.27-rc7/drivers/of/gpio.c 2008-09-29 13:50:28.0 +0200 @@ -164,6 +164,8 @@ int ret = -ENOMEM; struct of_gpio_chip *of_gc =

[PATCH v2] powerpc: Specify GPIO number base for controller in DT

2008-10-23 Thread Wolfgang Ocker
description of base property in doc Signed-off-by: Wolfgang Ocker <[EMAIL PROTECTED]> --- --- linux-2.6.27.2/drivers/of/gpio.c.of_gpiospecbase2008-10-18 19:57:22.0 +0200 +++ linux-2.6.27.2/drivers/of/gpio.c2008-10-23 10:55:19.0 +0200 @@ -164,6 +164,8 @@ int ret = -

Re: [PATCH v3] powerpc: Specify GPIO number base for controller in DT

2008-10-23 Thread Wolfgang Ocker
/improved description of base property in doc Signed-off-by: Wolfgang Ocker <[EMAIL PROTECTED]> --- --- linux-2.6.27.2/drivers/of/gpio.c.of_gpiospecbase2008-10-18 19:57:22.0 +0200 +++ linux-2.6.27.2/drivers/of/gpio.c2008-10-23 10:55:19.0 +0200 @@ -164,6 +164,8 @@

Re: [PATCH] powerpc: Specify GPIO number base for controller in DT

2008-10-24 Thread Wolfgang Ocker
On Thu, 2008-10-23 at 16:35 -0500, Matt Sealey wrote: > > On Oct 23, 2008, at 7:27 AM, Wolfgang Ocker wrote: > >> The GPIOLIB allows the specification of a base gpio number for a > >> controller. That is not possible using OF. Instead, free gpio numbers > >> ar

Re: [PATCH v3] powerpc: Specify GPIO number base for controller in DT

2008-10-24 Thread Wolfgang Ocker
On Fri, 2008-10-24 at 11:12 -0600, Grant Likely wrote: > On Fri, Oct 24, 2008 at 10:54 AM, Anton Vorontsov > <[EMAIL PROTECTED]> wrote: > > On Thu, Oct 23, 2008 at 08:13:00PM +0200, Stefan Roese wrote: > >> On Thursday 23 October 2008, Wolfgang Ocker wrote: &g

[PATCH] Added gpios property for SPI slaves

2008-10-24 Thread Wolfgang Ocker
SPI slave devices require the specification of a chip select address. This patch allows that specification using the gpios property. The reg property remains supported. Signed-off-by: Wolfgang Ocker <[EMAIL PROTECTED]> --- --- linux-2.6.27.3/drivers/of/of_spi.c.of_spi_gpio 2008-10-22

Re: [PATCH] Added gpios property for SPI slaves

2008-10-24 Thread Wolfgang Ocker
On Sat, 2008-10-25 at 01:10 +0400, Anton Vorontsov wrote: > On Fri, Oct 24, 2008 at 10:08:59PM +0200, Wolfgang Ocker wrote: > > SPI slave devices require the specification of a chip select address. > > This patch allows that specification using the gpios property. The reg >

Re: [PATCH v2] spi: Add PPC4xx SPI driver

2008-10-25 Thread Wolfgang Ocker
On Sat, 2008-10-25 at 06:30 +0200, Stefan Roese wrote: > This adds a SPI driver for the SPI controller found in the IBM/AMCC > 4xx PowerPC's. > > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> Signed-off-by: Wolfgang

Re: [PATCH v2] spi: Add PPC4xx SPI driver

2008-10-25 Thread Wolfgang Ocker
On Sat, 2008-10-25 at 07:39 -0400, Josh Boyer wrote: > On Sat, Oct 25, 2008 at 12:11:29PM +0200, Wolfgang Ocker wrote: > >On Sat, 2008-10-25 at 06:30 +0200, Stefan Roese wrote: > >> This adds a SPI driver for the SPI controller found in the IBM/AMCC > >> 4xx PowerPC&

[bug report] v4.10.1 Oops on P1010 - huge tlb

2017-02-28 Thread Wolfgang Ocker
With kernel v4.10.1 and huge tlb enabled (CONFIG_HUGETLBFS=y) I see the following oops on a P1010: Freeing unused kernel memory: 428K This architecture does not have kernel memory protection. Unable to handle kernel paging request for data at address 0x8000 Faulting instruction address: 0xc0

Re: [bug report] v4.10.1 Oops on P1010 - huge tlb - there's already a fix ...

2017-02-28 Thread Wolfgang Ocker
On Tue, 2017-02-28 at 10:57 +0100, Wolfgang Ocker wrote: > With kernel v4.10.1 and huge tlb enabled (CONFIG_HUGETLBFS=y) I see > the >  following oops on a P1010: Just saw that there is already a fix: https://lists.ozlabs.org/pipermail/linuxppc-dev/2017-February/154204.html Thanks!