aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
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
2018-07-06sg_pr2serr.h: add sg_scnpr() [like lk scnprintf()]; rescan-scsi-bus.sh ↵Douglas Gilbert
code_manpage cleanup git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@780 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-06-29sg_opcode: support MLU, Multiple Logical Units (18-045r1); sg_lib: ↵Douglas Gilbert
sg_simple_inquiry_pt(); ./configure: option --enable-debug added for testing git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@779 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-06-03sg_decode sense: add --err=ES; sg_dd, sgp_dd, sgm_dd: add --dry-run and ↵Douglas Gilbert
--verbose options; introduce SG3_UTILS_DSENSE environment variable; sg_lib: add sg_nvme_desc2sense(), sg_build_sense_buffer(), and pr2ws() git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@777 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-05-30define SG_NVME_VPD_NICR sg3_utils (vendor) specific VPD page; work with ↵Douglas Gilbert
SG_LIB_LBA_OUT_OF_RANGE git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@775 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-05-24add SG_LIB_LOGIC_ERROR and SG_LIB_CONTRADICT; implement across many ↵Douglas Gilbert
utilities and increase usage of sg_convert_errno() git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@774 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-05-20sg_sanitize: add --dry-run option; sg_format: extend --wait timeout to 40 ↵Douglas Gilbert
hours for disk sizes > 4 TB and 80 hours if > 8 TB git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@773 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-05-11sg_lib: enhance exit status values and associated stringsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@771 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-05-02sg_lib: add sg_ll_inquiry_pt(), sg_ll_test_unit_ready_progress_pt(), ↵Douglas Gilbert
sg_ll_request_sense_pt(), sg_ll_send_diag_pt(), sg_ll_receive_diag_pt(); sg_timestamp: add --elapsed, --hex and --no-timestamp options; sg_ses: check for NVMe enclosure bits git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@769 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-04-15sg_wr_mode: add --rtd option for RTD bit; sg_lib: add ↵Douglas Gilbert
sg_ll_mode_select6_v2() and sg_ll_mode_select10_v2() for RTD bit git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@768 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-04-05sg_lib: add sg_get_big_endian(), sg_set_big_endian()Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@767 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-04-05sg_unaligned.h: add specializations for little and big endianDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@766 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-03-30sg_lib: add SG_LIB_LBA_OUT_OF_RANGE; sg_format: add --dry-run; sg_unmap: add ↵Douglas Gilbert
--all=ST,RN[,LA] , --dry-run + --force git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@765 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-03-21sg_turs: add --low option; testing/sg_tst_async.cpp + tst_sg_lib.c additionsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@763 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-03-16Add little/big endian specializations to sg_unaligned.hDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@762 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-03-09Add mode sense(10) and mode select(10) to SNTLDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@761 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-03-05sg_ses: --data=@FN with --status now decodes dpage(s) in FN; add --quiet ↵Douglas Gilbert
option to suppress messages git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@758 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-28sg_write_x: add --quiet option; fix sg_if_can2stdxxx problem when es=0; ↵Douglas Gilbert
other cleanups git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@757 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-24sg_lib: add sg_exit2str; consolidate exit status stringsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@756 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-22sg_lib: add sg_if_can2stdout(); use uint8_t instead of unsigned char; ↵Douglas Gilbert
Windows pass-through work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@754 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-19sg_raw: add --raw option (for CF in binary); sg_lib: add ↵Douglas Gilbert
sg_get_nvme_opcode_name() and sg_is_aligned(); sg_vpd: fully implement Device Constituents vpage git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@753 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-11fix compile error in sg_pt_win32.c when NVME_IGNORE; sg_raw: add ↵Douglas Gilbert
--cmdfile=CF option git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@752 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-08struggling with Windows NVMe pass-throughDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@751 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-05Info section added to end of ./configure; sg_persist: add --maxlen=LEN ↵Douglas Gilbert
option; sg_opcodes: report when --no-inquiry ignored git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@750 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-04add sg_convert_errno() and sg_if_can2stderr(); work on NVMe support for ↵Douglas Gilbert
Win32; add REPORT SUPPORTED OPCODES+TMFs to SNTL git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@749 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-01-28add sg_seek and sg_stream_ctl utilities; properly identify vendor-specific ↵Douglas Gilbert
sense; documentation cleanup git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@747 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-01-19update BSD license from 3 to 2 clause aka FreeBSD license (without reference ↵Douglas Gilbert
to FreeBSD project); more hex2* cleanup git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@746 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-01-19add hex2stdout(), hex2stderr() and hex2str(); add testing/sg_tst_nvme; clean ↵Douglas Gilbert
Makefile.freebsd in examples/ and testing/; NVMe error processing git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@745 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-01-13sg_ses_microcode: add --dry-run and --ealsd; sg_write_buffer: add --dry-runDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@744 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-01-09FreeBSD port now works with NVMe SNTL and sg3_ses pass-through (NVME-MI); ↵Douglas Gilbert
man page cleanups; improve SNTL translation to VPD page 0x83 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@743 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-01-03sg_inq: add --only option, further sanity checks on --inhex so CDROM std inq ↵Douglas Gilbert
not confused with VPD page 0x80; sgp_dd: use pthread_kill(); various configure.ac and Makefile.am cleanups git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@742 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-12-31sg_unaligned: fix argument type of sg_get_unaligned_be24(); other minor cleanupsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@740 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-12-29sg_ses: further NVMe support work; decode array status dpage (obsolete); ↵Douglas Gilbert
build: add SG_LIB_ANDROID git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@738 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-12-20sg_write_x: almost finished; lots of nvme infrastructureDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@737 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-12-09Clean C++ and clang errors and warnings; fix FreeBSD problem; sg_write_x: ↵Douglas Gilbert
bit more work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@735 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-12-08sg_ses: first cut of NVMe support, lib/sg_linux_nvme.c has small SNTL and ↵Douglas Gilbert
code to tunnel SES commands git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@734 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-12-07add include/sg_pt_linux.h lib/sg_pt_linux_nvme.c and .gitignore; sg_write_x: ↵Douglas Gilbert
almost finished; more NVMe work (for sg_ses) git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@733 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-11-27sg_lib: add SG_LIB_OS_BASE_ERR; sg_write_x: continue workDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@732 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-11-15rename sg_write_atomic to sg_write_x; sg_inq: decode NVMe identify for ↵Douglas Gilbert
Linux+FreeBSD git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@731 6180dd3e-e324-4e3e-922d-17de1ae2f315