Re: MMC core debugfs support (was Re: [RFC v2 5/5] Atmel MCI:Driver for Atmel on-chip MMC controllers)

From: Pierre Ossman
Date: Mon Feb 25 2008 - 12:12:58 EST


On Thu, 14 Feb 2008 15:00:05 +0100
Haavard Skinnemoen <hskinnemoen@xxxxxxxxx> wrote:

>
> I've started working on this, but I've run into a problem: The mmc core
> structures don't seem to keep any references to the current request. So
> I don't really have any information to put into the 'req' file after
> moving it into the core.
>
> Any ideas on how to solve this?
>

The simple solution is just to add it. :)

But is it needed though? Shouldn't a read block until there is an event, at which point you'll have access to the data structures long enough to output data.

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/