On Wednesday 10 September 2008, Sébastien Chrétien wrote:
> I looked falconide.c, it uses     hw_regs_t hw; and ide_hwif_t *hwif.
> Is it a good way ?
> 

No, that uses the legacy IDE drivers, not the current ATA drivers,
and it is not based on the device tree information.

Just use drivers/ata/pata_of_platform.c, you probably don't even
need to change the code, just your device tree.

        Arnd <><
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to