aboutsummaryrefslogtreecommitdiff
path: root/testing/uapi_sg.h
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2022-08-12 17:26:14 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2022-08-12 17:26:14 +0000
commit98b99ad2ab348bbba1676b95a8895f12ee48fd31 (patch)
tree8c250f6c63a9ada16b4c223056b5d27bf123fc57 /testing/uapi_sg.h
parent5a1cdabc085bc9ccaedc5aff7c49a2d0ea5d6e12 (diff)
downloadsg3_utils-98b99ad2ab348bbba1676b95a8895f12ee48fd31.tar.gz
Prepare for removing /proc/scsi from the Linux kernel
From: Bart Van Assche <bvanassche@acm.org> The sg3_utils package is the only /proc/scsi user I know of. Although support for systems without /proc/scsi was added to rescan_scsi_bus.sh more than ten years ago, a few references to /proc/scsi remain. Convert these references into the recommended interfaces. Posted to linux-scsi@vger.kernel.org on 20220810 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@968 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'testing/uapi_sg.h')
-rw-r--r--testing/uapi_sg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/uapi_sg.h b/testing/uapi_sg.h
index 270ad468..9cc51dc0 100644
--- a/testing/uapi_sg.h
+++ b/testing/uapi_sg.h
@@ -442,8 +442,8 @@ struct sg_header {
#define SG_SET_COMMAND_Q 0x2271 /* Change queuing state with 0 or 1 */
/*
- * Turn on/off error sense trace (1 and 0 respectively, default is off).
- * Try using: "# cat /proc/scsi/sg/debug" instead in the v3 driver
+ * Turn on/off error sense trace in the kernel log (1 and 0 respectively, default is
+ * off).
*/
#define SG_SET_DEBUG 0x227e /* 0 -> turn off debug */