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

Public Member Functions | |
| sat_device (smart_interface *intf, scsi_device *scsidev, const char *req_type, int passthrulen=0, bool enable_auto=false) | |
| virtual | ~sat_device () throw () |
| virtual smart_device * | autodetect_open () |
| Open device with autodetection support. | |
| virtual bool | ata_pass_through (const ata_cmd_in &in, ata_cmd_out &out) |
| ATA pass through. | |
| virtual bool | scsi_pass_through (scsi_cmnd_io *iop) |
| SCSI pass through. | |
Private Attributes | |
| int | m_passthrulen |
| bool | m_enable_auto |
| sat::sat_device::sat_device | ( | smart_interface * | intf, |
| scsi_device * | scsidev, | ||
| const char * | req_type, | ||
| int | passthrulen = 0, |
||
| bool | enable_auto = false |
||
| ) |
Definition at line 132 of file scsiata.cpp.
| sat::sat_device::~sat_device | ( | ) | throw () [virtual] |
Definition at line 151 of file scsiata.cpp.
| bool sat::sat_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 229 of file scsiata.cpp.
| smart_device * sat::sat_device::autodetect_open | ( | ) | [virtual] |
Open device with autodetection support.
May return another device for further access. In this case, the original pointer is no longer valid. Default implementation calls 'open()' and returns 'this'.
Reimplemented from smart_device.
Definition at line 446 of file scsiata.cpp.
| bool sat::sat_device::scsi_pass_through | ( | scsi_cmnd_io * | iop | ) | [virtual] |
SCSI pass through.
Returns false on error.
Implements scsi_device.
Definition at line 436 of file scsiata.cpp.
bool sat::sat_device::m_enable_auto [private] |
Definition at line 128 of file scsiata.cpp.
int sat::sat_device::m_passthrulen [private] |
Definition at line 127 of file scsiata.cpp.
1.7.4