Messages in this thread | | | Date | Mon, 26 Jan 2009 11:16:36 +0200 | From | Adrian Hunter <> | Subject | Re: [PATCH] MMC: Add Extended CSD as a device attribute |
| |
Pierre Ossman wrote: > On Fri, 16 Jan 2009 12:41:50 +0200 > Adrian Hunter <ext-adrian.hunter@nokia.com> wrote: > >> From: Adrian Hunter <ext-adrian.hunter@nokia.com> >> 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@nokia.com> >> --- > > 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?
| |