lkml.org 
[lkml]   [2005]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [PATCH][MMC][5/6] Secure Digital (SD) support : sysfs
    SCR sysfs access.

    This provides access to the SCR register via sysfs. Since the latest bk
    contains some changes to the sysfs part this probably needs updating.
    The patch is trivial though so it should be easy.

    Index: linux-sd/drivers/mmc/mmc_sysfs.c
    ===================================================================
    --- linux-sd/drivers/mmc/mmc_sysfs.c (revision 135)
    +++ linux-sd/drivers/mmc/mmc_sysfs.c (working copy)
    @@ -163,6 +163,7 @@
    card->raw_cid[2], card->raw_cid[3]);
    MMC_ATTR(csd, "%08x%08x%08x%08x\n", card->raw_csd[0], card->raw_csd[1],
    card->raw_csd[2], card->raw_csd[3]);
    +MMC_ATTR(scr, "%08x%08x\n", card->raw_scr[0], card->raw_scr[1]);
    MMC_ATTR(date, "%02d/%04d\n", card->cid.month, card->cid.year);
    MMC_ATTR(fwrev, "0x%x\n", card->cid.fwrev);
    MMC_ATTR(hwrev, "0x%x\n", card->cid.hwrev);
    @@ -174,6 +175,7 @@
    static struct device_attribute *mmc_dev_attributes[] = {
    &dev_attr_cid,
    &dev_attr_csd,
    + &dev_attr_scr,
    &dev_attr_date,
    &dev_attr_fwrev,
    &dev_attr_hwrev,
    \
     
     \ /
      Last update: 2005-03-22 14:10    [W:0.022 / U:52.460 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site