All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] mmc-utils: improve lsmmc usability
@ 2026-06-24 18:48 Torstein Eide
  2026-06-24 18:48 ` [PATCH v4 1/3] mmc-utils: lsmmc: Use external .ids files and accept /dev, /sys/block paths Torstein Eide
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Torstein Eide @ 2026-06-24 18:48 UTC (permalink / raw)
  To: linux-mmc

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-06-24 18:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-24 18:48 [PATCH v4 0/3] mmc-utils: improve lsmmc usability Torstein Eide
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.