Skip to contentSkip to conversation

dm6446evm CF support

PATCH Sergei Shtylyov 1 participant 1 message Apr 1, 2009 3 messages not in the archive libata

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Hello.

Quoted 22 lines · David Brownell
Quoted 6 lines
Quoted 6 lines
(quoted diff) +6 -0
+config MACH_DAVINCI_EVM_CF
+     bool "Use CompactFlash, not IDE drive"
+     depends on MACH_DAVINCI_EVM && BLK_DEV_PALMCHIP_BK3710
+     help
+       Enable this if you want to use a CompactFlash card instead of
+       an IDE/ATA drive.  The CF card will be used in "True IDE" mode.
Quoted 8 lines

Review

Quoted 5 lines
(quoted diff) +5 -0
+
+       At this writing, CF insert and remove events are not supported.
+       Insert the CF at boot time, and leave it there until you power
+       the system off.
+

This instruction is already obsolete. As I've already noted, IDE core now
supports warm plug via sysfs, see Documentation/ide/warm-plug-howto.txt. One can plug and unplug any time, this just won't be automatically noticed by the kernel, so one will need to notify it.

CF insert and remove events are very different from writing some sysfs files. They are handled through a pcmcia_socket abstraction ... and are completely hands-off. Socket events include card insert/removal detection, and socket operations include power on/off and reset. I don't know that "true-IDE" links work through those sockets, though.

Quoted 3 lines

That said ... I tried that manual workaround; it didn't work.

So: no, that instruction is far from obsolete.

So, it would only work with real hard disks... sigh. Sorry for
disinformation then -- I hoped warm plug could've been helpful for CF.

MBR, Sergei