|
smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
|

Public Member Functions | |
| win_ata_device (smart_interface *intf, const char *dev_name, const char *req_type) | |
| virtual | ~win_ata_device () throw () |
| virtual bool | open () |
| Open device, return false on error. | |
| virtual bool | ata_pass_through (const ata_cmd_in &in, ata_cmd_out &out) |
| ATA pass through. | |
| virtual bool | ata_identify_is_cached () const |
| Return true if OS caches ATA identify sector. | |
Private Member Functions | |
| bool | open (int phydrive, int logdrive, const char *options, int port) |
Private Attributes | |
| std::string | m_options |
| bool | m_usr_options |
| bool | m_admin |
| int | m_phydrive |
| bool | m_id_is_cached |
| bool | m_is_3ware |
| int | m_port |
| int | m_smartver_state |
Definition at line 350 of file os_win32.cpp.
| os_win32::win_ata_device::win_ata_device | ( | smart_interface * | intf, |
| const char * | dev_name, | ||
| const char * | req_type | ||
| ) |
Definition at line 2349 of file os_win32.cpp.
| os_win32::win_ata_device::~win_ata_device | ( | ) | throw () [virtual] |
Definition at line 2361 of file os_win32.cpp.
| bool os_win32::win_ata_device::ata_identify_is_cached | ( | ) | const [virtual] |
Return true if OS caches ATA identify sector.
Default implementation returns false.
Reimplemented from ata_device.
Definition at line 2844 of file os_win32.cpp.
| bool os_win32::win_ata_device::ata_pass_through | ( | const ata_cmd_in & | in, |
| ata_cmd_out & | out | ||
| ) | [virtual] |
ATA pass through.
Return false on error. Must be implemented in derived class.
Implements ata_device.
Definition at line 2523 of file os_win32.cpp.
| bool os_win32::win_ata_device::open | ( | int | phydrive, |
| int | logdrive, | ||
| const char * | options, | ||
| int | port | ||
| ) | [private] |
Definition at line 2400 of file os_win32.cpp.
| bool os_win32::win_ata_device::open | ( | ) | [virtual] |
Open device, return false on error.
Implements smart_device.
Definition at line 2368 of file os_win32.cpp.
bool os_win32::win_ata_device::m_admin [private] |
Definition at line 370 of file os_win32.cpp.
bool os_win32::win_ata_device::m_id_is_cached [private] |
Definition at line 372 of file os_win32.cpp.
bool os_win32::win_ata_device::m_is_3ware [private] |
Definition at line 373 of file os_win32.cpp.
std::string os_win32::win_ata_device::m_options [private] |
Definition at line 368 of file os_win32.cpp.
int os_win32::win_ata_device::m_phydrive [private] |
Definition at line 371 of file os_win32.cpp.
int os_win32::win_ata_device::m_port [private] |
Definition at line 374 of file os_win32.cpp.
int os_win32::win_ata_device::m_smartver_state [private] |
Definition at line 375 of file os_win32.cpp.
bool os_win32::win_ata_device::m_usr_options [private] |
Definition at line 369 of file os_win32.cpp.
1.7.4