gianfar tries to free an irq from interrupt context

2008-12-18 Thread M B
Hi, I'm having Problems with the gianfar Ethernet. eth1 is working fine, but eth0 is making trouble. It's making trouble in u-boot as well, so it could as well be a hardware problem. First of all eth0 receives some frame errors (frame: in ifconfig), but eth1 doesn't. eth1 performs well under a pin

Re: irq

2008-09-03 Thread M B
Hi, this seems to be the same problem I had, when registering an irq with UIO. On Wed, Sep 3, 2008 at 5:03 PM, Sébastien Chrétien <[EMAIL PROTECTED]> wrote: > The failure referes to setup_irq : > desc->chip == &no_irq_chip is true > > What is irq_desc and how can I initialize it ? I did use irq_

Re: [PATCH] add a simple 405EP based board

2008-08-21 Thread M B
On 8/21/08, Josh Boyer <[EMAIL PROTECTED]> wrote: > I plan on adding more 405 board support very soon. When I do, it'll be > along the lines of the patch series I just sent out for 44x. There's > really no reason to have a per CPU/board file if we can avoid it. > > Your code is simple enough ove

Phy read timeout in ibm_new_emac driver

2008-04-16 Thread M B
The __emac_mdio_read function of the emac driver (core.c) will retry 100 times and wait 99us (until the last call of emac_phy_done). I assume this is an off by one error. /* Wait for read to complete */ n = 100; while (!emac_phy_done(dev, (r = in_be32(&p->stacr {

Get new_emac driver running on 405EP

2008-04-14 Thread M B
Hi, I'm trying to get the new_emac driver (linux 2.6.25-rc8) running on my 405EP board with a KSZ8721BT Micrel/Kendin PHY. I've already found 2 problems/missing features: 1) 100 retries in __emac_mdio_read for the read to complete are slightly too less. 101 seem to be enough. But we could add a bit

Re: ppc405ep emac driver loading problem

2008-04-10 Thread M B
On Thu, Apr 10, 2008 at 1:52 PM, Josh Boyer <[EMAIL PROTECTED]> wrote: > You have to call of_platform_bus_probe with the various bus types for > your board. See the top few functions of: > > arch/powerpc/platforms/40x/walnut.c Well I did this, but I made a typo (plb4 instead of plb3). So than

ppc405ep emac driver loading problem

2008-04-10 Thread M B
Hi, I'm porting vanilla 2.6.25-rc8 (arch=powerpc) to a new board. UART is already working in the kernel and Uboot with UART and ethernet is also working. But I can't get the emac driver (ibm_newemac) working under Linux. On boot emac_init get's called and exits normally, but no probe or open will g