Subject: Re: IDE

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

On Wednesday 10 September 2008, Sergei Shtylyov wrote:
> =A0 =A0Most probably you can use the existing platform drivers:=20
> drivers/ide/egacy/ide_platform.c or drivers/ata/pata_platform.c.
> Create/register a platform device named "pata_platform" with 2 memory=20
> and 1 IRQ resource, and enable one of those drivers.

=46or 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 <><