version 1.1.1.2, 2012/10/09 09:36:45
|
version 1.1.1.3, 2013/07/22 01:17:35
|
Line 13
|
Line 13
|
* any later version. |
* any later version. |
* |
* |
* You should have received a copy of the GNU General Public License |
* You should have received a copy of the GNU General Public License |
* (for example COPYING); if not, write to the Free | * (for example COPYING); If not, see <http://www.gnu.org/licenses/>. |
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
* |
* |
* This code was originally developed as a Senior Thesis by Michael Cornwell |
* This code was originally developed as a Senior Thesis by Michael Cornwell |
* at the Concurrent Systems Laboratory (now part of the Storage Systems |
* at the Concurrent Systems Laboratory (now part of the Storage Systems |
Line 47 struct ata_log_request
|
Line 46 struct ata_log_request
|
struct ata_print_options |
struct ata_print_options |
{ |
{ |
bool drive_info; |
bool drive_info; |
|
int identify_word_level, identify_bit_level; |
bool smart_check_status; |
bool smart_check_status; |
bool smart_general_values; |
bool smart_general_values; |
bool smart_vendor_attrib; |
bool smart_vendor_attrib; |
Line 84 struct ata_print_options
|
Line 84 struct ata_print_options
|
enum { FMT_BRIEF = 0x01, FMT_HEX_ID = 0x02, FMT_HEX_VAL = 0x04 }; |
enum { FMT_BRIEF = 0x01, FMT_HEX_ID = 0x02, FMT_HEX_VAL = 0x04 }; |
unsigned char output_format; // FMT_* flags |
unsigned char output_format; // FMT_* flags |
|
|
unsigned char fix_firmwarebug; // FIX_*, see atacmds.h | firmwarebug_defs firmwarebugs; // -F options |
bool fix_swapped_id; // Fix swapped ID strings returned by some buggy drivers |
bool fix_swapped_id; // Fix swapped ID strings returned by some buggy drivers |
|
|
ata_vendor_attr_defs attribute_defs; // -v options |
ata_vendor_attr_defs attribute_defs; // -v options |
Line 109 struct ata_print_options
|
Line 109 struct ata_print_options
|
|
|
ata_print_options() |
ata_print_options() |
: drive_info(false), |
: drive_info(false), |
|
identify_word_level(-1), identify_bit_level(-1), |
smart_check_status(false), |
smart_check_status(false), |
smart_general_values(false), |
smart_general_values(false), |
smart_vendor_attrib(false), |
smart_vendor_attrib(false), |
Line 131 struct ata_print_options
|
Line 132 struct ata_print_options
|
smart_selftest_type(-1), smart_selftest_force(false), |
smart_selftest_type(-1), smart_selftest_force(false), |
sct_temp_int(0), sct_temp_int_pers(false), |
sct_temp_int(0), sct_temp_int_pers(false), |
output_format(0), |
output_format(0), |
fix_firmwarebug(FIX_NOTSPECIFIED), |
|
fix_swapped_id(false), |
fix_swapped_id(false), |
ignore_presets(false), |
ignore_presets(false), |
show_presets(false), |
show_presets(false), |