smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
|
Go to the source code of this file.
Classes | |
struct | drive_settings |
struct | usb_dev_info |
Macros | |
#define | KNOWNDRIVES_H_CVSID "$Id: knowndrives.h 5207 2021-02-09 20:25:13Z chrfranke $\n" |
Functions | |
int | lookup_usb_device (int vendor_id, int product_id, int bcd_device, usb_dev_info &info, usb_dev_info &info2) |
void | show_presets (const ata_identify_device *drive) |
int | showallpresets () |
int | showmatchingpresets (const char *model, const char *firmware) |
const drive_settings * | lookup_drive_apply_presets (const ata_identify_device *drive, ata_vendor_attr_defs &defs, firmwarebug_defs &firmwarebugs, std::string &dbversion) |
const char * | get_drivedb_path_add () |
bool | read_drive_database (const char *path) |
bool | init_drive_database (bool use_default_db) |
const ata_vendor_attr_defs & | get_default_attr_defs () |
#define KNOWNDRIVES_H_CVSID "$Id: knowndrives.h 5207 2021-02-09 20:25:13Z chrfranke $\n" |
Definition at line 15 of file knowndrives.h.
const ata_vendor_attr_defs & get_default_attr_defs | ( | ) |
Definition at line 993 of file knowndrives.cpp.
const char * get_drivedb_path_add | ( | ) |
Definition at line 894 of file knowndrives.cpp.
bool init_drive_database | ( | bool | use_default_db | ) |
Definition at line 984 of file knowndrives.cpp.
const drive_settings * lookup_drive_apply_presets | ( | const ata_identify_device * | drive, |
ata_vendor_attr_defs & | defs, | ||
firmwarebug_defs & | firmwarebugs, | ||
std::string & | dbversion | ||
) |
Definition at line 584 of file knowndrives.cpp.
int lookup_usb_device | ( | int | vendor_id, |
int | product_id, | ||
int | bcd_device, | ||
usb_dev_info & | info, | ||
usb_dev_info & | info2 | ||
) |
Definition at line 314 of file knowndrives.cpp.
bool read_drive_database | ( | const char * | path | ) |
Definition at line 878 of file knowndrives.cpp.
void show_presets | ( | const ata_identify_device * | drive | ) |
Definition at line 550 of file knowndrives.cpp.
int showallpresets | ( | ) |
Definition at line 492 of file knowndrives.cpp.
int showmatchingpresets | ( | const char * | model, |
const char * | firmware | ||
) |
Definition at line 517 of file knowndrives.cpp.