summaryrefslogtreecommitdiffstats
path: root/atacmdnames.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:14:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:14:45 +0000
commit43e8530e93493bb978c446a2023134bdd4277e50 (patch)
treee8c0d3c0c394b17381f48fb2d288f166b4f22440 /atacmdnames.h
parentInitial commit. (diff)
downloadsmartmontools-43e8530e93493bb978c446a2023134bdd4277e50.tar.xz
smartmontools-43e8530e93493bb978c446a2023134bdd4277e50.zip
Adding upstream version 7.4.upstream/7.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'atacmdnames.h')
-rw-r--r--atacmdnames.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/atacmdnames.h b/atacmdnames.h
new file mode 100644
index 0000000..0842e05
--- /dev/null
+++ b/atacmdnames.h
@@ -0,0 +1,23 @@
+/*
+ * atacmdnames.h
+ *
+ * This module is based on the T13/1532D Volume 1 Revision 3 (ATA/ATAPI-7)
+ * specification, which is available from http://www.t13.org/#FTP_site
+ *
+ * Home page of code is: http://www.smartmontools.org
+ *
+ * Copyright (C) 2003-8 Philip Williams
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef ATACMDNAMES_H_
+#define ATACMDNAMES_H_
+
+#define ATACMDNAMES_H_CVSID "$Id: atacmdnames.h 4760 2018-08-19 18:45:53Z chrfranke $\n"
+
+/* Returns the name of the command (and possibly sub-command) with the given
+ command code and feature register values. */
+const char *look_up_ata_command(unsigned char c_code, unsigned char f_reg);
+
+#endif