<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: STK5200 pci_enable_device problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi ,<BR>
i use 2.4.25 kernel and eldk 3.1.1 on TQM5200 board. i tried denx 2.6.19 kernel to port on TQM5200 but i couldn't.<BR>
Did you port 2.6 kernel on TQM5200? Did pci device start working succesfully after porting 2.6 kernel to TQM5200 board.<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: linuxppc-embedded-bounces+mustafa.cayir=bte.mam.gov.tr@ozlabs.org on behalf of Oliver Rutsch<BR>
Sent: Thu 8/23/2007 10:24 AM<BR>
To: linuxppc-embedded@ozlabs.org<BR>
Subject: Re: STK5200 pci_enable_device problem<BR>
<BR>
Hi Mustafa,<BR>
<BR>
&gt; Hi all,<BR>
&gt;<BR>
[...]<BR>
&gt;<BR>
&gt; My pci driver is able to scan pci bus and find succesfully the pci<BR>
&gt; device. After this point, pci_enable_device function returns<BR>
&gt; following error:<BR>
&gt;<BR>
&gt; PCI:&nbsp; Device 00:18.0 not available because of resource collisions<BR>
&gt;<BR>
<BR>
Which ELDK and kernel do you use? I had the same problem on this board<BR>
with a PLX9054 based PCI card on a 2.4.25 kernel. I switched to the 2.6<BR>
kernel and the 4.1 ELDK and the card was scanned correctly.<BR>
But keep in mind that the linux PLX drivers do not work out of the box<BR>
with a big endian platform like the MPC5200. Although there is a<BR>
BIG_ENDIAN flag in the makefiles there are still some places left in the<BR>
driver code which have to be patched (the parts with int64 adresses).<BR>
It's not so easy to compile the PLX drivers on the 4.1 ELDK because of<BR>
missing headers in the ppc architecture. I managed to build the drivers<BR>
for the 2.6.19 kernel and I was able to work with the card except the<BR>
DMA routines (still working on this issue).<BR>
<BR>
Hope this helps. Bye,<BR>
<BR>
--<BR>
Dipl. Ing. Oliver Rutsch<BR>
_______________________________________________<BR>
Linuxppc-embedded mailing list<BR>
Linuxppc-embedded@ozlabs.org<BR>
<A HREF="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">https://ozlabs.org/mailman/listinfo/linuxppc-embedded</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>