smartmontools  SVN Rev 4115
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Macros | Functions
knowndrives.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  drive_settings
struct  usb_dev_info


#define KNOWNDRIVES_H_CVSID   "$Id: knowndrives.h 3597 2012-09-04 21:10:37Z chrfranke $\n"


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_settingslookup_drive_apply_presets (const ata_identify_device *drive, ata_vendor_attr_defs &defs, firmwarebug_defs &firmwarebugs)
const char * get_drivedb_path_add ()
bool read_drive_database (const char *path)
bool read_default_drive_databases ()

Macro Definition Documentation

#define KNOWNDRIVES_H_CVSID   "$Id: knowndrives.h 3597 2012-09-04 21:10:37Z chrfranke $\n"

Definition at line 23 of file knowndrives.h.

Function Documentation

const char* get_drivedb_path_add ( )

Definition at line 834 of file knowndrives.cpp.

const drive_settings* lookup_drive_apply_presets ( const ata_identify_device drive,
ata_vendor_attr_defs defs,
firmwarebug_defs firmwarebugs 

Definition at line 534 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 274 of file knowndrives.cpp.

bool read_default_drive_databases ( )

Definition at line 860 of file knowndrives.cpp.

bool read_drive_database ( const char *  path)

Definition at line 818 of file knowndrives.cpp.

void show_presets ( const ata_identify_device drive)

Definition at line 500 of file knowndrives.cpp.

int showallpresets ( )

Definition at line 442 of file knowndrives.cpp.

int showmatchingpresets ( const char *  model,
const char *  firmware 

Definition at line 467 of file knowndrives.cpp.