Re: [PATCH 3/3] mmc: Add per-card debugfs support

From: Pierre Ossman
Date: Sat Jun 28 2008 - 10:01:22 EST


On Sat, 28 Jun 2008 15:48:44 +0200
Haavard Skinnemoen <haavard.skinnemoen@xxxxxxxxx> wrote:

> Pierre Ossman <drzeus-mmc@xxxxxxxxx> wrote:
> > The status command doesn't work on SDIO cards, so this seems like the
> > wrong place for it.
>
> Where do you want it then?
>

drivers/mmc/core/mmc.c seems like the correct place (and some coupling
from sd.c as well). See if you can do something that's similar to how
sysfs nodes are handled by the bus handlers.

> Btw, /sys/class/mmc_host/mmc0/<card>/test doesn't work on SDIO cards
> either:
>

Ooops. It shouldn't be binding to non-storage cards. I'll make sure to
have that fixed.

--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org

WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
--
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/