ppc405ep emac driver loading problem

Josh Boyer jwboyer at linux.vnet.ibm.com
Thu Apr 10 21:52:11 EST 2008


On Thu, 10 Apr 2008 12:37:45 +0200
"M B" <super.firetwister at googlemail.com> wrote:

> 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 get called and no network devices (except lo) are known to
> the kernel.
> 
> Do I have to do something more, than adding the mals and emacs to the
> device tree? I haven't seen any 40x or 44x board in the platforms
> folder doing something special for the emac.
> 
> Any hints?

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

for an example.

josh



More information about the Linuxppc-dev mailing list