From: Josh Boyer <jwboyer@linux.vnet.ibm.com>
To: "M B" <super.firetwister@googlemail.com>
Cc: ppc-dev <linuxppc-dev@ozlabs.org>
Subject: Re: ppc405ep emac driver loading problem
Date: Thu, 10 Apr 2008 06:52:11 -0500 [thread overview]
Message-ID: <20080410065211.7befbfba@zod.rchland.ibm.com> (raw)
In-Reply-To: <6a6049b80804100337m6ab33fd5wd3cf9524e7f6d721@mail.gmail.com>
On Thu, 10 Apr 2008 12:37:45 +0200
"M B" <super.firetwister@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
next prev parent reply other threads:[~2008-04-10 11:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-10 10:37 ppc405ep emac driver loading problem M B
2008-04-10 11:29 ` Stefan Roese
2008-04-10 11:52 ` Josh Boyer [this message]
2008-04-10 13:03 ` M B
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080410065211.7befbfba@zod.rchland.ibm.com \
--to=jwboyer@linux.vnet.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=super.firetwister@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).