PCMCIA Client Drivers for accessing CF Storage Card
kiran vedere
vederekiran at gmail.com
Thu Jun 19 14:44:35 EDT 2008
Hi Dominik:
Thanks for the reply.
While going through the pcmcia/ata sources some more questions propped up.
1. The CF card needs to be configured for True-ide mode for emulating
it as a ATA Device . Do I need to do this or its handled by the
pata-pcmcia.c client driver?
2. The TrueDMA mode also supports Multiword DMA and Ultra DMA modes of
data transfer. How does the pata-pcmcia Client Driver support these
modes? Can I provide any callback functions or I need to implement a
seperate Client Driver to support these modes?
3. Are there any platform specific routines I need to implement when
using these Client Drivers (pata-pcmcia.c/memory-cs.c) ?
4. I have read that the 2.6 kernel uses pcmciamtd.c Client Driver
instead of memory_cs.c. Does this support Compact Flash Storage?
Thanks in advance.
Regards,
kiran
On Thu, Jun 19, 2008 at 3:45 AM, Dominik Brodowski
<linux at dominikbrodowski.net> wrote:
> Hi,
>
> On Wed, Jun 18, 2008 at 07:08:13PM -0400, kiran vedere wrote:
>> I am trying to add Compact Flash Support on an ARM Platform. Apart
>> from implementing a CF Host Controller Driver do I need to implement
>> seperate Client Drivers to support CF Storage Cards or can I just
>> reuse the existing client drivers (ide-cs.c for IDE Emulation and
>> memory_cs.c for regular flash access) available.
>
> for IDE Emulation you can use pata_pcmcia.c (now preferred instead of
> ide_cs.c) indeed.
>
> memory_cs.c has unfortunately been broken for ages. Nonetheless, fixing and
> then re-using memory_cs.c (or re-writing something similarily generic) would
> be the right thing, instead of implementing a special CF flash access
> driver.
>
> Thanks and best wishes,
> Dominik
>
More information about the linux-pcmcia
mailing list