Re: [Fwd: MMC sub-system: SDIO block-mode with increment addressissue]

From: Pierre Ossman
Date: Tue Nov 20 2007 - 11:40:10 EST


On Tue, 20 Nov 2007 14:52:37 +0000
Dean Jenkins <djenkins@xxxxxxxxxxxx> wrote:

> Hi Pierre,
>
> My card driver needed to set the R/W E4MI bit in the Card Capability
> register (0x08) in CCCR (function 0). Perhaps it is unnecessary ?
>

That bit is pointless given the current design of the MMC layer, so it shouldn't be necessary.

> BTW. It is easy to for the card driver to access function 0 registers by
> doing the following...
>

Of course. Any driver can do whatever it pleases since it is in kernel space. But you won't make any friends if you keep trying to bypass every system in the kernel. ;)

(Not to mention you'll have a lot more work on your hands.)

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
-
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/