All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dick Hollenbeck <dick@softplc.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: New true IDE compact flash driver starting point?
Date: Thu, 08 Jan 2009 09:26:07 -0600	[thread overview]
Message-ID: <49661B0F.6030206@softplc.com> (raw)
In-Reply-To: <200901081318.44188.arnd@arndb.de>

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



  reply	other threads:[~2009-01-08 15:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-08  6:33 New true IDE compact flash driver starting point? Dick Hollenbeck
2009-01-08 12:18 ` Arnd Bergmann
2009-01-08 15:26   ` Dick Hollenbeck [this message]
2009-01-09 16:33     ` Arnd Bergmann
2009-01-09 18:29       ` Dick Hollenbeck
2009-01-09 18:29         ` Alan Cox
2009-01-09 18:35 ` David Daney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49661B0F.6030206@softplc.com \
    --to=dick@softplc.com \
    --cc=arnd@arndb.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.