IDE

Sébastien Chrétien sebastien.chretien.enseirb at gmail.com
Wed Sep 10 22:23:20 EST 2008


I looked falconide.c, it uses     hw_regs_t hw; and ide_hwif_t *hwif.
Is it a good way ?

2008/9/10, Arnd Bergmann <arnd at arndb.de>:
>
> On Wednesday 10 September 2008, Sergei Shtylyov 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.
> If you need a device specific setup, you should add a new "compatible"
> value in the tree and make the driver handle that in whatever
> way you need.
>
>
>         Arnd <><
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080910/20c19183/attachment.htm>


More information about the Linuxppc-dev mailing list