Re: [PATCH] MMC: Add Extended CSD as a device attribute

From: Adrian Hunter
Date: Mon Jan 26 2009 - 04:04:51 EST


Pierre Ossman wrote:
On Fri, 16 Jan 2009 12:41:50 +0200
Adrian Hunter <ext-adrian.hunter@xxxxxxxxx> wrote:

From: Adrian Hunter <ext-adrian.hunter@xxxxxxxxx>
Date: Wed, 14 Jan 2009 17:45:53 +0200
Subject: [PATCH] MMC: Add Extended CSD as a device attribute

Extended CSD is a MMC card register. The Card Identification
(CID) register and the Card-Specific Data (CSD) register are
already device attributes. As increasingly interesting
fields are being added to Extended CSD, it seems reasonable to
add it too. Note that SD cards do not have an Extended CSD
register, so it is MMC only.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@xxxxxxxxx>
---

Well, this might be interesting for debugging, but I don't see anything
of general interest for user space in there. What's your use case?

Yes it is mainly just debugging. It was done as a device attribute for
consistency with the other card registers CID and CSD.

Would you prefer #ifdef CONFIG_MMC_DEBUG or debugfs?
--
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/