From 43e8530e93493bb978c446a2023134bdd4277e50 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 19:14:45 +0200 Subject: Adding upstream version 7.4. Signed-off-by: Daniel Baumann --- atacmdnames.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 atacmdnames.h (limited to 'atacmdnames.h') 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 -- cgit v1.2.3