aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2022-07-02sg3_utils.spec: change tarball extension from .tgz to .tar.gz ; fix build ↵Douglas Gilbert
issue with Fedora 36; minor work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@957 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-06-27more JSON work: sense data and vpd device id, start on sg_vpdDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@956 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-06-25sg_rem_rest_elem: new utility for removing or restoring elements; bug fixesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@955 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-05-24sg_get_elem_status: change '--maxlen=' option default to 1056 (was 32), ↵Douglas Gilbert
other cleanups git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@953 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-05-12sg_lib: document internal json interface in include/sg_pr2serr.h; codespell ↵Douglas Gilbert
fixes git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@952 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-05-06sg_inq: add support for Hitachi/HP open-v ldev names; sg_rep_zone: more json ↵Douglas Gilbert
work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@951 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-05-02sg_rep_zones: add experimental --json[=JO] option and generationDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@950 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-04-24autoconf: 2.71; automake: 1.16.5; libtool: 2.4.6; updates from Ubuntu 22.04Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@949 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-04-21Merge pull request #16 from bvanassche/masterDouglas Gilbert
Enable continuous integration git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@947 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-04-21sg_opcodes: add --inhex=FN to process earlier -HHH, add experimental ↵Douglas Gilbert
--json[=JO] option; sg_turs: change nanosleep() to Sleep() in MinGW git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@945 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-04-17sg_lib: add hex2fp(); sg_rtpg: ↵Douglas Gilbert
https://github.com/hreinecke/sg3_utils/pull/79 applies; json_builder work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@944 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-03-09sg_logs: add --exclude and --undefined options, improve 'last_n' log pages; ↵Douglas Gilbert
add inhex/logs_last_n.hex git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@942 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-02-03sg_rep_zones: add --brief option and --find ZT option; sg_modes: improve ↵Douglas Gilbert
handling of zbc disks with pdt=0x14 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@935 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-01-28cleanup masks for PDT [0x1f] and group_number [0x3f]Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@934 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-01-27sg_lib: add sg_pdt_s_eq() to cope with ZBC disks which may be either PDT_ZBC ↵Douglas Gilbert
(if host managed) or PDT_DISK git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@933 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-11-20sg_z_act_query: new utility for sending either a Zone activate or Zone query ↵Douglas Gilbert
command; sg_rep_zones: add Report zone starting LBA granularity field in REPORT ZONES response [zbc2r12]; sg_decode_sense: add --nodecode option; initialize all sense buffers to 0; rework main README file git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@923 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-11-05sgp_dd: add check for stdatomic.h presence in configure.ac; scripts: ↵Douglas Gilbert
55-scsi-sg3_id.rules remove outdated rule git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@918 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-08-30improve transport error handling. To fix report of a BAD_TARGET transport ↵Douglas Gilbert
error but the utility still continued. introduce SG_LIB_TRANSPORT_ERROR [35] exit status git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@910 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-06-23Haiku OS support, add pt function list in sg_pt_dummy.c; add slices to sg_mrq_ddDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@905 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-05-28sg_lib: add sg_get_zone_type_str()Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@902 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-05-15sg_lib: add sg_scsi_status_is_bad(); testing/ workDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@901 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-05-03bump sg_pt library version number; doco tweaksDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@899 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-05-02major rework of lib/sg_pt_freebsd.c; sg_raw: fix prints of NVMe NVM command ↵Douglas Gilbert
names git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@896 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-04-15change links to http://sg.danny/cz/sg/* to httpsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@895 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-03-20sg_opcodes: improve handling of RWCDLP field; sg_lib: add ZBC (2020) feature ↵Douglas Gilbert
set entries git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@879 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-11-10tweak transport error handling in Linux; sg_compare_and_write: add examples ↵Douglas Gilbert
section to its manpage; testing git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@866 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-08-03sg_raw: fix --cmdfile= handling; add --nvm option; sg_pt: add do_nvm_pt(); ↵Douglas Gilbert
sg_lib: fix crash in sg_f2hex_arr() when fname not found git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@860 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-07-24sg_turs: estimated time-to-ready, add --delay=MS option; sg_requests: ↵Douglas Gilbert
cleanup; sg_pt: add partial_clear_scsi_pt_obj, get_scsi_pt_cdb_len and get_scsi_pt_cdb_buf git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@857 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-04-13sg_lib: sntl: add flush, synchronize cache, write same and dummy start stop ↵Douglas Gilbert
unit commands; wire cache mpage's WCE to nvme 'volatile write cache' git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@848 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-04-04sync with sbc4r19a; start req/write SNTL work; testing fixesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@846 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-03-01Rename VPD_ZBC_DEV_CHARS from zbdc to zbdch, to distinguish it from zbdct ↵Douglas Gilbert
for the ZBC device control mpage; sgh_dd work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@843 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-01-25sbc4r18+spc6r01 partial catch-up; sg_format: add FORMAT WITH PRESET supportDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@839 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-12-27sg_lib: add sg_get_command_str() and sg_print_command_len(); ↵Douglas Gilbert
sg_verify+sg_write_same: fix and --ff option; sg_dd+sgh_dd: add --verify support git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@837 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-09-17sync with fixes from Redhat, via github; remove testing/Makefile.cplus and ↵Douglas Gilbert
testing/Makefile.cplus_fb git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@832 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-09-09sg_get_num()+sg_get_llnum(): add 'e' decoding, allow addition; testing: make ↵Douglas Gilbert
now builds both C and C++ programs git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@831 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-08-29add sg_get_elem_status utility; inhex folder; some NVMe 1.4; some zbc realmsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@830 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-07-17sg_ses: rename 'SAS SlimLine' to SlimSAS [ses4r02; sg_lib: ↵Douglas Gilbert
sg_scsi_normalize_sense(): populate byte4,5,6; testing/sgh_dd git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@828 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-05-18sg_lib: add sg_f2hex_arr()Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@824 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-05-15automake: upgrade to version 1.16.1; autoconf: upgrade to version 2.69 [Fed30]Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@823 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-02-11sg_pt: add sg_get_opcode_translation() to replace global pointer to array; ↵Douglas Gilbert
utils/hxascdmp: add -o=<offset> option; testing/sgh_dd fixes git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@811 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-01-31linux: add nanosecond durations when SG3_UTILS_LINUX_NANO environment ↵Douglas Gilbert
variable given git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@809 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-01-14sg_lib: tweak sg_pt interface to better handle bidi; sg_cmds_process_resp(): ↵Douglas Gilbert
two arguments removed git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@805 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-01-11spc5r20 updates; fixes for FreeBSD 12.0 releaseDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@804 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-12-13sg_format: add --dcrt used twice (FOV=1 DCRT=0); sg_pt_linux: uses sg v4 ↵Douglas Gilbert
interface if sg driver >= 4.0.0 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@798 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-12-07add: SPDX-License-Identifier: BSD-2-Clause (or gpl-2-or-later); ↵Douglas Gilbert
testing/sgs_dd.c work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@797 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-11-12sg_scan(win32): expand limits for big arrays; rescan-scsi-bus: widen LUN 0 ↵Douglas Gilbert
only scanning; add SG_LIB_WINDOWS_ERR git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@795 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-09-11sg_vpd: decode some WDC/Hitachi vendor VPD pages; sg_modes: accept acronym ↵Douglas Gilbert
for page/subpage codes; attempted 1.43 release git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@789 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-08-15turn off format checking for MinGW; more manpage clean-upDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@787 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-07-13sg_turs: fix exit status when not ready in single case; sg_lib: add ↵Douglas Gilbert
sg_ll_start_stop_unit_pt(); sg_tst_context: add --verbose optin, other tweaks git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@782 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-07-08add SG_LIB_OK_TRUE(0) and SG_LIB_OK_FALSE(36) non-error code defines for ↵Douglas Gilbert
exit status git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@781 6180dd3e-e324-4e3e-922d-17de1ae2f315