Subject: Re: IDE

From: Arnd Bergmann <[email-masked]>
Date: Wed, 10 Sep 2008 14:51:07 +0200

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

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