LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* help with PCI RTL8139 on mpc5200
@ 2013-06-12  9:52 scinteeb
  0 siblings, 0 replies; only message in thread
From: scinteeb @ 2013-06-12  9:52 UTC (permalink / raw)
  To: linuxppc-dev



    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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-12 10:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-12  9:52 help with PCI RTL8139 on mpc5200 scinteeb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox