Re: New true IDE compact flash driver starting point?

From: Arnd Bergmann
Date: Thu Jan 08 2009 - 07:19:00 EST


On Thursday 08 January 2009, Dick Hollenbeck wrote:
> On a new ARM9 board with memory mapped interface to a compact flash
> socket, I need to implement an IDE or ATA driver that will support TRUE
> IDE mode.
>
> Am using kernel version 2.6.26
>
> What is the best starting point, i.e. example driver in the tree?

You should not need to write a new driver, but rather use the existing
drivers/ata/pata_platform.c driver by registering the MMIO registers
and IRQ number as a platform device.

Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/