ok I will use the flat device tree.<br>
Do you utils in order to use ata and check ata link ?<br>
For example, to read some information of my compact flash<br>
<br><div><span class="gmail_quote">2008/9/10, Sergei Shtylyov &lt;<a href="mailto:sshtylyov@ru.mvista.com">sshtylyov@ru.mvista.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span class="q">Arnd Bergmann wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

 &nbsp;Most probably you can use the existing platform drivers: drivers/ide/egacy/ide_platform.c or drivers/ata/pata_platform.c.<br>
Create/register a platform device named &quot;pata_platform&quot; with 2 memory and 1 IRQ resource, and enable one of those drivers.<br>
</blockquote></blockquote>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
For new boards using a flattened device tree, it should be enough<br>
to add a device node for the pata_of_platform driver.<br>
</blockquote>
<br></span>
 &nbsp; Oops, forgot about this one. No wonder, after being knee deep in ARM for several months. :-)<br>
<br>
MBR, Sergei<br>
</blockquote></div><br>