From: scinteeb <scinteeb@gmail.com>
To: linuxppc-dev@ozlabs.org
Subject: help with PCI RTL8139 on mpc5200
Date: Wed, 12 Jun 2013 02:52:40 -0700 (PDT) [thread overview]
Message-ID: <1371030759660-72284.post@n7.nabble.com> (raw)
Hello,
First of all I want to mention that I am quite new on the development at
this level on the mpc5200 based boards. It might be that I'll ask dumb or
wrong questions so I want to apologize for this.
I am using a custom board based on icecube 5200 reference card but with an
additional PCI RTL8139 network interface.
1. I did compile the latest u-boot and at that level the PCI is detecting
the interface and the u-boot is adding it in the network list as I can see
as interfaces FEC and RTL8139#0.
2. I have compiled the latest released kernel 3.9.4 which is having support
for mpc5200 based devices. The kernel is able to identify the RTL8139
interface, is loading properly the 8139too driver, I can change the settings
of the interface, but when I am trying to setup the IP address I am getting
an SIOCSIFFLAGS error.
The investigations showed that the reason for the error is that the IRQ 0
that is detected by the system as being used by the interface cannot be
used. The request_irq function in the rtl8139 is failing because the
can_request_irq is returning 0.
The interesting boot messages that I found while booting the kernel and
might be helpful are:
[ 0.226240] mpc52xx_irqhost_map: Critical IRQ #3 is unsupported! Nopping
it.
...
[ 1.404745] 8139too 0000:01:0c.0 eth1: RealTek RTL8139 at 0xca086000,
00:e0:4c:00:00:08, IRQ 0
Any idea on how to address the situation?
Thanks in advance,
Bogdan.
--
View this message in context: http://linuxppc.10917.n7.nabble.com/help-with-PCI-RTL8139-on-mpc5200-tp72284.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.
reply other threads:[~2013-06-12 10:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1371030759660-72284.post@n7.nabble.com \
--to=scinteeb@gmail.com \
--cc=linuxppc-dev@ozlabs.org \
/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