diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-01-24 14:39:12 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-01-24 16:49:38 +0100 |
| commit | de746e82320ebed3f7b02820728fa6eb035bc313 (patch) | |
| tree | dc190197e7d1cf0be3f5f18b98181db502c6323f /sys/linux/sg.txt | |
| parent | 44e061b86c622251bca6adb5358800a3827930b3 (diff) | |
sys/linux: update TODO comments
Change TODO comments that refer to missing description
language features to NEED comments as that it's easier to grep for them.
Remove some outdated comments. Fix 2 easy fixable TODOs.
Diffstat (limited to 'sys/linux/sg.txt')
| -rw-r--r-- | sys/linux/sg.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/linux/sg.txt b/sys/linux/sg.txt index 864e7c74f..8953a1f11 100644 --- a/sys/linux/sg.txt +++ b/sys/linux/sg.txt @@ -58,7 +58,7 @@ sg_io_hdr { sbp ptr[out, array[int8]] timeout int32 flags flags[sg_flags, int32] - pack_id flags[sg_pack_id, int32] + pack_id int32[-1:3] usr_ptr ptr[out, int8] status const[0, int8] masked_status const[0, int8] @@ -110,8 +110,6 @@ scsi_ioctl_probe_host_out_buffer { sg_interface_id = 0, 'S' sg_dxfer_direction = SG_DXFER_NONE, SG_DXFER_TO_DEV, SG_DXFER_FROM_DEV, SG_DXFER_TO_FROM_DEV, SG_DXFER_UNKNOWN sg_flags = SG_FLAG_DIRECT_IO, SG_FLAG_UNUSED_LUN_INHIBIT, SG_FLAG_MMAP_IO, SG_FLAG_NO_DXFER, SG_FLAG_Q_AT_TAIL, SG_FLAG_Q_AT_HEAD -# TODO: we need negative integers for -1 -sg_pack_id = -1, 0, 1, 2, 3 define SG_MAX_CDB_SIZE 252 define SG_REQUEST_TABLE_SIZE SG_MAX_QUEUE * sizeof(sg_req_info_t) |
