<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Grant Likely schrieb:
<blockquote
 cite="mid:fa686aa40803180731g3892e737h29db0cb917946588@mail.gmail.com"
 type="cite">
  <pre wrap="">On Tue, Mar 18, 2008 at 4:34 AM, Andre Schwarz
<a class="moz-txt-link-rfc2396E" href="mailto:andre.schwarz@matrix-vision.de">&lt;andre.schwarz@matrix-vision.de&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap=""> Grant,

 sorry for having troubled you. Looks like the build system has been in an
invalid state...

 After doing a git-pull and "make distclean" + "make mpc5200_defconfig" the
system is finally up and running.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Heh; I hate it when that happens.  :-)

Congratulations.

g.


  </pre>
</blockquote>
Grant,<br>
<br>
this leads to the next questions ... :-)<br>
<br>
I've read some discussions about the "interrupt-map" attribute of the
pci node. I tried to follow Ben and David in their explanations -
obviously I didn't really get it.<br>
Looks like there are a lot of people outside who need some
enlightenment ... including me, of course.<br>
<br>
Maybe you can clarify this ?<br>
<br>
Taken from motionpro.dts ...<br>
<br>
&nbsp;&nbsp;&nbsp; interrupt-map = &lt;c000 0 0 1 &amp;mpc5200_pic 0 0 3 // 1st slot<br>
&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;&nbsp;&nbsp;&nbsp; c000 0 0 2 &amp;mpc5200_pic 1 1 3<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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_pic 1 3 3<br>
&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;&nbsp;&nbsp;&nbsp; c800 0 0 4 &amp;mpc5200_pic 0 0 3&gt;;<br>
<br>
<br>
First parameter seems to be the slot number, i.e. IDSEL line of the PCI
device. <br>
How is this value coded ? Are these the bits 15..11 of the
configuration address ?<br>
<br>
2nd + 3rd paramter : no clue ! can you explain ?<br>
<br>
4th : seem to be INT_A ... _D of a PCI device. Usually a device uses
only INT_A. Do we need 4 entries in any case ?<br>
<br>
5th : ok - parent pic <br>
<br>
6th ... 8th&nbsp; : IRQ representation of the parent pic, which gives :<br>
<br>
&nbsp;&nbsp;&nbsp; 6th : 0=CRIT for irq0 pin, 1=MAIN for irq1..3 pins<br>
&nbsp;&nbsp;&nbsp; 7th : irq number. 1 for the irq0 pin inside CRIT level. irq1..3
have number 1..3 inside MAIN level.<br>
&nbsp;&nbsp;&nbsp; 8th : should be 3 = "level low" which is default for PCI.<br>
<br>
<br>
<br>
<br>
regards,<br>
Andre<br>
<BR>

MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
<BR>
</body>
</html>