<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV><FONT face=Arial size=2><SPAN class=906172017-08082005><SPAN
class=548390318-08082005>Hi All,</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=906172017-08082005>I <SPAN
class=548390318-08082005>am using two evaluation board from freescale, 8540ADS
and MPC8541. The same PCI driver is being compiled and loaded on both
platforms. </SPAN>The same PCI driver<SPAN class=548390318-08082005>
(developed by me) for DSP board compiled and loaded on both
platforms.</SPAN> </SPAN></FONT><FONT face=Arial size=2><SPAN
class=906172017-08082005></SPAN></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=906172017-08082005></SPAN></FONT></FONT> </DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT size=2><SPAN
class=906172017-08082005>When I type: </SPAN><SPAN
class=906172017-08082005>"insmod C6415.ko"<SPAN class=548390318-08082005> on
8541 board, </SPAN></SPAN></FONT></FONT></FONT></FONT><FONT face=Arial
size=2><SPAN class=906172017-08082005>I get the following
error:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=906172017-08082005>"PCI: Device
0000:02:01.0 not available because of resource collisions"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=906172017-08082005>This
messages <SPAN class=548390318-08082005>is because of
the</SPAN> execution of the generic PCI Linux command:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=906172017-08082005>"pci_enable_device(pdev)"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=906172017-08082005>The same API has no
problem on 8540ADS.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=906172017-08082005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=906172017-08082005>From UBOOT I can see
my device is on bus 3:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=906172017-08082005>=> pci
3</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=906172017-08082005>Scanning PCI devices
on bus 3</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=906172017-08082005>BusDev
FUN VendorID DeviceID
Device Class Sub-Class</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=906172017-08082005>--------------------------------------------------------------------------------------------</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=906172017-08082005>03.01.00
0x104c 0xa106
.........</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=906172017-08082005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=906172017-08082005><SPAN
class=548390318-08082005>Any idea why the insmod fails on one board and not on
the other one?</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=906172017-08082005><SPAN
class=548390318-08082005></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=906172017-08082005><SPAN
class=548390318-08082005>Many thanks in advance,</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=906172017-08082005><SPAN
class=548390318-08082005>Bizhan</SPAN></SPAN></FONT></DIV></DIV></BODY></HTML>