summaryrefslogtreecommitdiffstats
path: root/atacmdnames.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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