<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: PCI driver on EB8347</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText35068 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
I'm using polling mechanism and not interrupts in my driver.&nbsp;Although I'm 
not using polling I see strange behavior When I do lspci -v&nbsp;I don't see any 
interrupts being allocated to PCI device behind PCI bridge !!!! But when I use 
same card directly on primary bus I do see interrupt being allocated to PCI 
device.&nbsp;Any advise why&nbsp;IRQ's being not allocated in case its attached 
to PCI bridge ?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Do I need to take care of any extra configuration in case of PCI card is 
attached to PCI bridge ?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Yaa you are correct I 
shouldn't use CONFIG_85xx_PCI2</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>-Rajan</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Liu Dave-r63238 
[mailto:DaveLiu@freescale.com]<BR><B>Sent:</B> Thu 8/10/2006 10:40 
PM<BR><B>To:</B> rajan rai; Gala Kumar K.-galak<BR><B>Cc:</B> 
linuxppc-embedded@ozlabs.org<BR><B>Subject:</B> RE: PCI driver on 
EB8347<BR></FONT><BR></DIV>
<DIV><BR>
<P><FONT size=2>Rajan&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have 
written PCI driver which works fine along with<BR>MPC8347 and two 
PCI<BR>Rajan&gt; card connected in a single PCI bus. When I try to 
communicate<BR>same PCI card<BR>Rajan&gt; using PCI bridge ( PCI2050B ), Linux 
does detect PCI card on<BR>Secondary bus<BR>Rajan&gt; but same driver doesn't 
work !!!!<BR><BR>PCI interrupt for secondary bus set up 
properly?<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>Rajan&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Do I need to enable support for second PCI host controller<BR>at kernel level 
to<BR>Rajan&gt;make it work? Or I need to do something else ? I tried 
compiling<BR>PPC-linux kernel<BR>Rajan&gt; after enabling CONFIG_85xx_PCI2 
kernel doesn't compile it gives<BR>me error while<BR>Rajan&gt;compiling 
"arch/ppc/syslib/ppc83xx_setup.c" Kernel version I'm<BR>using is 
2.6.13.<BR><BR>Why you enable CONFIG_85xx_PCI2 in kernel? It is for 85xx, but 
you are<BR>using 8347 
processor.<BR><BR>&lt;snip&gt;<BR><BR>Dave<BR><BR></FONT></P></DIV>

</BODY>
</HTML>