IDE
Sébastien Chrétien
sebastien.chretien.enseirb at gmail.com
Thu Sep 11 18:30:11 EST 2008
I saw pata_of_platform source. And when is called pata_of_platform_probe ?
2008/9/11, Sébastien Chrétien <sebastien.chretien.enseirb at gmail.com>:
>
> Where can I find a pata_of_platform node example ?
>
> Sergei Shtylyov a écrit :
>
>> Arnd Bergmann wrote:
>>
>> Most probably you can use the existing platform drivers:
>>>> drivers/ide/egacy/ide_platform.c or drivers/ata/pata_platform.c.
>>>> Create/register a platform device named "pata_platform" with 2 memory
>>>> and 1 IRQ resource, and enable one of those drivers.
>>>>
>>>
>> For new boards using a flattened device tree, it should be enough
>>> to add a device node for the pata_of_platform driver.
>>>
>>
>> Oops, forgot about this one. No wonder, after being knee deep in ARM for
>> several months. :-)
>>
>> MBR, Sergei
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080911/3f1642cd/attachment.htm>
More information about the Linuxppc-dev
mailing list