freebsd-src/sbin/camcontrol
Andriy Gapon 128a6d31f2 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  |....??..........|

(cherry picked from commit c01a46d4ac)
2021-11-21 12:00:42 +02:00
..
attrib.c Unify cam_send_ccb() error reporting. 2019-09-07 16:52:40 +00:00
camcontrol.8 camcontrol(8): Clean up references to removed symbols 2021-10-25 11:58:27 -04:00
camcontrol.c camcontrol: dump received data for MMC command even if it is unknown 2021-11-21 12:00:42 +02:00
camcontrol.h Make camcontrol modepage support block descriptors. 2019-08-07 14:45:10 +00:00
epc.c Use the more proper term of SATL instead of ATA_BEHIND_SCSI. 2019-07-15 20:25:41 +00:00
fwdownload.c Supply SAT layer with valid transfer sizes. 2019-09-07 15:56:00 +00:00
Makefile Retire support for -DMINIMALISTIC 2019-07-12 05:35:45 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
modeedit.c sbin/camcontrol: use calloc/strlcpy where appropriate. 2021-01-03 22:52:28 -08:00
persist.c Unify cam_send_ccb() error reporting. 2019-09-07 16:52:40 +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 Use the more proper term of SATL instead of ATA_BEHIND_SCSI. 2019-07-15 20:25:41 +00:00