aboutsummaryrefslogtreecommitdiff
path: root/lib/sg_pt_common.c
AgeCommit message (Collapse)Author
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
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-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
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-11sg_lib: Linux NVMe SNTL: add read, write and verifyDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@847 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
2019-06-13sg_ses: document explicit Element type codes; SG3_UTILS_LINUX_NANO ↵Douglas Gilbert
environment variable when Linux sg driver >= 4.0.30; more testing code git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@825 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
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-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-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-06-01expand SNTL; sg_dd: add --dry-run and --verbose optionsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@776 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-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-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-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
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
2017-10-31sg_lib: add sg_msense_calc_length(); sg_pt: add dummy pt_device_is_nvme()Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@727 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-10-09convert lots of two valued 'int's to bool; add sg_ll_inquiry_v2() ↵Douglas Gilbert
sg_ll_write_buffer_v2() sg_get_sfs_name() and sg_decode_transportid_str() git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@719 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-06-06sg_luns: add decoding for conglomerate LUNS; change struct ↵Douglas Gilbert
sg_simple_inquiry_resp::rmb to byte_1 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@586 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-06-04sg_lib: linux, sg: support SCSI_PT_FLAGS_QUEUE_AT_TAIL fixDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@585 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-08-28remove externs from global function decls; rescan-scsi-bus.sh work; O_EXCL ↵Douglas Gilbert
for Windows git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@511 6180dd3e-e324-4e3e-922d-17de1ae2f315
2012-12-11run cleanfile over C source and headersDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@470 6180dd3e-e324-4e3e-922d-17de1ae2f315
2012-02-02expand Linux pass-through DID_* codesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@437 6180dd3e-e324-4e3e-922d-17de1ae2f315
2011-02-08add scsi_pt_win32_spt_state() for windows; add sg_ll_verify16(); decode user ↵Douglas Gilbert
data segment referral sense data descriptor git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@379 6180dd3e-e324-4e3e-922d-17de1ae2f315
2011-02-06add scsi_pt_win32_direct() for win32 runtime selection of direct or indirect ↵Douglas Gilbert
SPT pt interface git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@377 6180dd3e-e324-4e3e-922d-17de1ae2f315
2010-08-19sync with spc4r26 and sbc3r24Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@348 6180dd3e-e324-4e3e-922d-17de1ae2f315
2010-03-21sg_pt: add set_scsi_pt_flags() for at_tail queueingDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@331 6180dd3e-e324-4e3e-922d-17de1ae2f315
2010-03-12follow google's RE2 lead and add BSD_LICENSE files and refer to them from sourceDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@329 6180dd3e-e324-4e3e-922d-17de1ae2f315
2009-04-21fix sg_set_binary_mode(), lack of config.h made it a nopDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@256 6180dd3e-e324-4e3e-922d-17de1ae2f315
2009-03-08sgv4 bsg workDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@229 6180dd3e-e324-4e3e-922d-17de1ae2f315
2009-02-04add clear_scsi_pt_obj() to sg_pt.h interfaceDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@208 6180dd3e-e324-4e3e-922d-17de1ae2f315
2009-02-04sg_pt do_scsi_pt() clear os_err as start of functionDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@207 6180dd3e-e324-4e3e-922d-17de1ae2f315
2009-02-03add scsi_pt_version() to sg_pt.h interfaceDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@206 6180dd3e-e324-4e3e-922d-17de1ae2f315