aboutsummaryrefslogtreecommitdiff
path: root/include/sg_cmds.h
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@google.com>2022-11-23 18:56:18 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-11-23 18:56:18 +0000
commit71b9916bab71328ec690b8677524e512d580d28f (patch)
tree207cdb23f8257e270a30143fde23d2033901581f /include/sg_cmds.h
parent8718296061e35ba33bf88847e7498f3d7e38f8f1 (diff)
parent448b67b18a80f8cc0feaaa669deaf169faa169f3 (diff)
downloadsg3_utils-71b9916bab71328ec690b8677524e512d580d28f.tar.gz
Merge remote-tracking branch 'aosp/upstream-main' into HEAD am: 448b67b18a
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2312210 Change-Id: I9653250a81928fffacf92bb5d9daffbc0ad7b2a8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'include/sg_cmds.h')
-rw-r--r--include/sg_cmds.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/sg_cmds.h b/include/sg_cmds.h
new file mode 100644
index 00000000..690f53ab
--- /dev/null
+++ b/include/sg_cmds.h
@@ -0,0 +1,21 @@
+#ifndef SG_CMDS_H
+#define SG_CMDS_H
+
+/********************************************************************
+ * This header did contain wrapper declarations for many SCSI commands
+ * up until sg3_utils version 1.22 . In that version, the command
+ * wrappers were broken into two groups, the 'basic' ones found in the
+ * "sg_cmds_basic.h" header and the 'extra' ones found in the
+ * "sg_cmds_extra.h" header. This header now simply includes those two
+ * headers.
+ * In sg3_utils version 1.26 the sg_cmds_mmc.h header was added and
+ * contains some MMC specific commands.
+ * The corresponding function definitions are found in the sg_cmds_basic.c,
+ * sg_cmds_extra.c and sg_cmds_mmc.c files.
+ ********************************************************************/
+
+#include "sg_cmds_basic.h"
+#include "sg_cmds_extra.h"
+#include "sg_cmds_mmc.h"
+
+#endif