From: Pierre Ossman <drzeus-list@drzeus.cx>
To: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Cc: linux-kernel@vger.kernel.org,
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Subject: Re: [PATCH v2 2/4] mmc: Export internal host state through debugfs
Date: Fri, 4 Jul 2008 19:45:56 +0200 [thread overview]
Message-ID: <20080704194556.73061a08@mjolnir.drzeus.cx> (raw)
In-Reply-To: <1214918094-26758-2-git-send-email-haavard.skinnemoen@atmel.com>
[-- Attachment #1: Type: text/plain, Size: 1212 bytes --]
On Tue, 1 Jul 2008 15:14:52 +0200
Haavard Skinnemoen <haavard.skinnemoen@atmel.com> wrote:
> When CONFIG_DEBUG_FS is set, create a few files under /sys/kernel/debug
> containing information about an mmc host's internal state. Currently,
> just a single file is created, "ios", which contains information about
> the current operating parameters for the bus (clock speed, bus width,
> etc.)
>
> Host drivers can add additional files and directories under the host's
> root directory by passing the debugfs_root field in struct mmc_host as
> the 'parent' parameter to debugfs_create_*.
>
> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
>
I see that this version has no ifdef:s at all. Doesn't that mean a lot
of useless code if DEBUG_FS is not enabled? You embedded guys are
usually rather sensitive about such things. :)
--
-- 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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-07-04 17:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-30 16:35 [PATCH v5] Atmel MCI: Driver for Atmel on-chip MMC controllers Haavard Skinnemoen
2008-07-01 13:14 ` [PATCH v2 1/4] debugfs: Implement debugfs_remove_recursive() Haavard Skinnemoen
2008-07-01 13:14 ` [PATCH v2 2/4] mmc: Export internal host state through debugfs Haavard Skinnemoen
2008-07-01 13:14 ` [PATCH v2 3/4] mmc: Add per-card debugfs support Haavard Skinnemoen
2008-07-01 13:14 ` [PATCH v2 4/4] atmel-mci: " Haavard Skinnemoen
2008-07-04 17:45 ` Pierre Ossman [this message]
2008-07-05 13:44 ` [PATCH v2 2/4] mmc: Export internal host state through debugfs Haavard Skinnemoen
2008-07-10 8:33 ` Pierre Ossman
2008-07-10 11:17 ` Haavard Skinnemoen
2008-07-01 18:37 ` [PATCH v2 1/4] debugfs: Implement debugfs_remove_recursive() Greg KH
2008-07-01 19:12 ` Haavard Skinnemoen
2008-07-02 12:48 ` [PATCH v5] Atmel MCI: Driver for Atmel on-chip MMC controllers Haavard Skinnemoen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080704194556.73061a08@mjolnir.drzeus.cx \
--to=drzeus-list@drzeus.cx \
--cc=haavard.skinnemoen@atmel.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®