freebsd-nq/sbin/camcontrol
Andriy Gapon c01a46d4ac camcontrol: dump received data for MMC command even if it is unknown
For example, EXT_CSD can be read like this:
    # camcontrol mmcsdcmd 2:0:0 -c 8 -a 0 -f 0x35 -l 512
    CMD 8 arg 0 flags 35
    MMCIO: error 0, 00000900 00000000 00000000 00000000
    No command-specific decoder for CMD 8
    0000   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|
    0010   39 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |9...............|
    ...
    0100   00 00 00 00 00 00 00 00 01 08 00 01 02 02 00 00  |................|
    ...
    01e0   00 00 00 00 00 00 00 00 00 81 c7 00 00 01 03 07  |................|
    01f0   05 00 03 01 3f 3f 01 01 01 00 00 00 00 00 00 00  |....??..........|

MFC after:	2 weeks
2021-11-06 19:25:57 +02:00
..
attrib.c camcontrol(8): remove unnecessary CCB zeroing 2021-02-25 18:45:21 +00:00
camcontrol.8 camcontrol(8): Clean up references to removed symbols 2021-10-20 00:32:54 -04:00
camcontrol.c camcontrol: dump received data for MMC command even if it is unknown 2021-11-06 19:25:57 +02:00
camcontrol.h camcontrol: depop command 2021-09-20 16:27:59 -06:00
depop.c camcontrol: depop command 2021-09-20 16:27:59 -06:00
epc.c camcontrol(8): remove unnecessary CCB zeroing 2021-02-25 18:45:21 +00:00
fwdownload.c camcontrol(8): remove unnecessary CCB zeroing 2021-02-25 18:45:21 +00:00
Makefile camcontrol: depop command 2021-09-20 16:27:59 -06:00
Makefile.depend
modeedit.c sbin/camcontrol: use calloc/strlcpy where appropriate. 2021-01-03 22:52:28 -08:00
persist.c camcontrol(8): remove unnecessary CCB zeroing 2021-02-25 18:45:21 +00:00
progress.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
progress.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
timestamp.c Use present now scsi_mode_sense_subpage(). 2019-07-29 20:41:11 +00:00
util.c sbin/camcontrol: use calloc/strlcpy where appropriate. 2021-01-03 22:52:28 -08:00
zone.c camcontrol(8): remove unnecessary CCB zeroing 2021-02-25 18:45:21 +00:00