IDE

Arnd Bergmann arnd at arndb.de
Wed Sep 10 22:51:07 EST 2008


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 <><



More information about the Linuxppc-dev mailing list