From de746e82320ebed3f7b02820728fa6eb035bc313 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 24 Jan 2019 14:39:12 +0100 Subject: 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. --- sys/linux/sg.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/linux/sg.txt') 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) -- cgit mrf-deployment