From: Torstein Eide <torsteine+linux@gmail.com>
To: linux-mmc@vger.kernel.org
Subject: [PATCH v4 0/3] mmc-utils: improve lsmmc usability
Date: Wed, 24 Jun 2026 20:48:21 +0200 [thread overview]
Message-ID: <20260624184824.2215718-1-torsteine+linux@gmail.com> (raw)
This series improves lsmmc in three areas: external manufacturer ID files
and accepting /dev and /sys/block paths for register reads, an mmc list
command, and bash completion for mmc-utils.
Changes since v3 (review by Avri Altman):
- Patch 1 didn't compile on its own: the mmc list implementation
(find_block_devname, print_list_entry, do_list, month_name) had
accidentally been committed in this patch instead of the "Add mmc
list command" patch. Moved all of it out, and squashed in the
former patch 2 ("Accept /dev and /sys/block paths for register
reads") since the two don't have independent value split apart from
the list command.
- Patch 2 (Add mmc list command): now contains the full mmc list
implementation that previously leaked into patch 1.
- Patch 3 (Add bash completion): subcommand completion is now driven
by parsing 'mmc help' output instead of maintaining a parallel
hardcoded verb list, so it stays in sync as commands are added or
removed.
Torstein Eide (3):
mmc-utils: lsmmc: Use external .ids files and accept /dev, /sys/block
paths
mmc-utils: lsmmc: Add mmc list command
mmc-utils: Add bash completion
Makefile | 11 +-
completion/mmc | 52 ++++
docs/HOWTO.rst | 77 +++++-
lsmmc.c | 621 ++++++++++++++++++++++++++-------------------
mmc.c | 6 +-
mmc_cmds.h | 1 +
multimediacard.ids | 16 ++
sdcard.ids | 23 ++
8 files changed, 533 insertions(+), 274 deletions(-)
create mode 100644 completion/mmc
create mode 100644 multimediacard.ids
create mode 100644 sdcard.ids
--
2.53.0
next reply other threads:[~2026-06-24 18:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-24 18:48 Torstein Eide [this message]
2026-06-24 18:48 ` [PATCH v4 1/3] mmc-utils: lsmmc: Use external .ids files and accept /dev, /sys/block paths Torstein Eide
2026-06-24 18:48 ` [PATCH v4 2/3] mmc-utils: lsmmc: Add mmc list command Torstein Eide
2026-06-24 18:48 ` [PATCH v4 3/3] mmc-utils: Add bash completion Torstein Eide
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=20260624184824.2215718-1-torsteine+linux@gmail.com \
--to=torsteine+linux@gmail.com \
--cc=linux-mmc@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