[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49661B0F.6030206@softplc.com>
Date: Thu, 08 Jan 2009 09:26:07 -0600
From: Dick Hollenbeck <dick@...tplc.com>
To: Arnd Bergmann <arnd@...db.de>
CC: linux-kernel@...r.kernel.org
Subject: Re: New true IDE compact flash driver starting point?
Arnd Bergmann wrote:
> 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 <><
>
Thank you Arnd!
Is there some example code in the tree to do this?
I've done something similar to this for 8250 serial ports, but I am
having a difficult time finding out how to do this with pata_platform.c
Thanks,
Dick Hollenbeck
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists