<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<title>RE: Newby trying to get Ethernet going on MPC83xx series device.</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-AU link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>That did it.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I based my board specific file on mpc834x_itx.c which had<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>static struct of_device_id __initdata mpc834x_itx_ids[] = {<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {
.compatible = &quot;fsl,pq2pro-localbus&quot;, },<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {
.compatible = &quot;simple-bus&quot;, },<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {},<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>};<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Don&#8217;t know if this is broken?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Aggrwal Poonam-B10812
[mailto:Poonam.Aggrwal@freescale.com] <br>
<b>Sent:</b> Thursday, 19 February 2009 5:49 PM<br>
<b>To:</b> Li Yang-R58472; Dushara Jayasinghe; linuxppc-dev@ozlabs.org<br>
<b>Subject:</b> RE: Newby trying to get Ethernet going on MPC83xx series
device.<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Can
you look into your board specific file </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Like
board/freescale/mpc8249_mds/mpc8349_mds.c</span><span lang=EN-US> </span><o:p></o:p></p>

<p><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>And
check if the buses are getting probed.</span><span lang=EN-US> </span><o:p></o:p></p>

<p><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>For
example</span><span lang=EN-US> </span><o:p></o:p></p>

<p><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>static
struct of_device_id mpc834x_ids[] = {</span> <br>
<b><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:red'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { .type =
&quot;soc&quot;, },</span></b> <br>
<b><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:red'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { .compatible =
&quot;soc&quot;, },</span></b> <br>
<b><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:red'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { .compatible =
&quot;simple-bus&quot;, },</span></b> <br>
<b><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:red'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {},</span></b> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>};</span><span
lang=EN-US> </span><o:p></o:p></p>

<p><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>static
int __init mpc834x_declare_of_platform_devices(void)</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>{</span>
<br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><b><span
lang=EN-US> </span></b><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Arial","sans-serif";color:red'>of_platform_bus_probe(NULL, mpc834x_ids, NULL);</span></b>
<br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
return 0;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>}</span>
<br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>machine_device_initcall(mpc834x_mds,
mpc834x_declare_of_platform_devices);</span><span lang=EN-US> </span><o:p></o:p></p>

<p><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Regards</span>
<br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Poonam</span>
<br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span><span
lang=EN-US> </span><o:p></o:p></p>

<p><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
-----Original Message-----</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
From: </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
linuxppc-dev-bounces+poonam.aggrwal=freescale.com@ozlabs.org </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
[</span><a href="mailto:linuxppc-dev-bounces+poonam.aggrwal=freescale.com@ozla"><span
lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>mailto:linuxppc-dev-bounces+poonam.aggrwal=freescale.com@ozla</span></a>
<br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
bs.org] On Behalf Of Li Yang-R58472</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
Sent: Thursday, February 19, 2009 10:52 AM</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
To: Dushara Jayasinghe; linuxppc-dev@ozlabs.org</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
Subject: RE: Newby trying to get Ethernet going on MPC83xx </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
series device.</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
</span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; -----Original Message-----</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; From: linuxppc-dev-bounces+leoli=freescale.com@ozlabs.org</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; [</span><a
href="mailto:linuxppc-dev-bounces+leoli=freescale.com@ozlabs.org"><span
lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>mailto:linuxppc-dev-bounces+leoli=freescale.com@ozlabs.org</span></a><span
lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>]</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; On Behalf Of Dushara Jayasinghe</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; Sent: Thursday, February 19, 2009 12:27 PM</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; To: 'linuxppc-dev@ozlabs.org'</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; Subject: Newby trying to get Ethernet going on MPC83xx </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
series device.</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; Hi I'm having difficulty getting an Ethernet device up on a </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
dev board </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; with an MPX8349 controller.</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp; </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; The contents of my .dts file are as follows (based on</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; mpc8349emitx.dts):</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp; </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; soc8349@e0000000 {</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
...</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp; </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
mdio@24520 {</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
#address-cells = &lt;1&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
#size-cells = &lt;0&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
compatible = &quot;fsl,gianfar-mdio&quot;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
reg = &lt;24520 20&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp; </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/* Vitesse 8201 */</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
phy1c: ethernet-phy@1c {</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&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;
interrupt-parent = &lt;&amp;ipic&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&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;
interrupts = &lt;3 8&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&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;
reg = &lt;0&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&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;
device_type = &quot;ethernet-phy&quot;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
};</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
tbi0: tbi-phy@11 {</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&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;
reg = &lt;11&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&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;
device_type = &quot;tbi-phy&quot;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
};</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
};</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp; </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
mdio@25520 {</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
#address-cells = &lt;1&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
#size-cells = &lt;0&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
compatible = &quot;fsl,gianfar-tbi&quot;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
reg = &lt;25520 20&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp; </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
tbi1: tbi-phy@11 {</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&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;
reg = &lt;11&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&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;
device_type = &quot;tbi-phy&quot;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
};</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
};</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp; </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ethernet@24000 {</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
cell-index = &lt;0&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
device_type = &quot;network&quot;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
model = &quot;TSEC&quot;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
compatible = &quot;gianfar&quot;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
reg = &lt;24000 1000&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
local-mac-address = [ 00 00 00 00 00 00 ];</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
interrupts = &lt;20 8 21 8 22 8&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
interrupt-parent = &lt;&amp;ipic&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
tbi-handle = &lt;&amp;tbi0&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
phy-handle = &lt;&amp;phy1c&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
linux,network-index = &lt;0&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
};</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp; </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ethernet@25000 {</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
cell-index = &lt;1&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
device_type = &quot;network&quot;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
model = &quot;TSEC&quot;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
compatible = &quot;gianfar&quot;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
reg = &lt;25000 1000&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
local-mac-address = [ 00 00 00 00 00 00 ];</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
interrupts = &lt;23 8 24 8 25 8&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
interrupt-parent = &lt;&amp;ipic&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/* Vitesse 7385 isn't on the MDIO bus */</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
fixed-link = &lt;1 1 1000 0 0&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
linux,network-index = &lt;1&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
tbi-handle = &lt;&amp;tbi1&gt;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
phy-connection-type = &quot;gmii&quot;;</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
};</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp; </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; I get the following error during the boot sequence:</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp; </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; IP-Config: Device `eth0' not found</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp; </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; I also found that both gfar_init (in gianfar.c) and </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
gfar_mdio_init (in </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; gianfar_mii.c) are called but the probe handlers of either of these </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; devices are not executed.</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt;&nbsp; </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
&gt; What am I missing?</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
</span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
Don't find any obvious problem.&nbsp; I suggest you to debug </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
gfar_of_init() in arch/powerpc/sysdev/fsl_soc.c to see if it </span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
works correctly.</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
</span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
- Leo</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
_______________________________________________</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
Linuxppc-dev mailing list</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
Linuxppc-dev@ozlabs.org</span> <br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
</span><a href="https://ozlabs.org/mailman/listinfo/linuxppc-dev"><span
lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>https://ozlabs.org/mailman/listinfo/linuxppc-dev</span></a>
<br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
</span><br>
<span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;
</span><o:p></o:p></p>

</div>

</body>

</html>