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

Public Member Functions | |
| freebsd_scsi_device (smart_interface *intf, const char *dev_name, const char *req_type) | |
| virtual smart_device * | autodetect_open () |
| SCSI open with autodetection support. | |
| virtual bool | scsi_pass_through (scsi_cmnd_io *iop) |
| SCSI pass through. | |
| virtual bool | open () |
| Open device, return false on error. | |
| virtual bool | close () |
| Close device, return false on error. | |
Private Attributes | |
| int | m_fd |
| filedesc, -1 if not open. | |
| struct cam_device * | m_camdev |
Standard SCSI support.
Definition at line 884 of file os_freebsd.cpp.
| os_freebsd::freebsd_scsi_device::freebsd_scsi_device | ( | smart_interface * | intf, |
| const char * | dev_name, | ||
| const char * | req_type | ||
| ) |
Definition at line 921 of file os_freebsd.cpp.
| smart_device * os_freebsd::freebsd_scsi_device::autodetect_open | ( | ) | [virtual] |
SCSI open with autodetection support.
Reimplemented from smart_device.
Definition at line 1243 of file os_freebsd.cpp.
| bool os_freebsd::freebsd_scsi_device::close | ( | ) | [virtual] |
Close device, return false on error.
Reimplemented from os_freebsd::freebsd_smart_device.
Definition at line 915 of file os_freebsd.cpp.
| bool os_freebsd::freebsd_scsi_device::open | ( | ) | [virtual] |
Open device, return false on error.
Reimplemented from os_freebsd::freebsd_smart_device.
Definition at line 904 of file os_freebsd.cpp.
| bool os_freebsd::freebsd_scsi_device::scsi_pass_through | ( | scsi_cmnd_io * | iop | ) | [virtual] |
SCSI pass through.
Returns false on error.
Implements scsi_device.
Definition at line 929 of file os_freebsd.cpp.
struct cam_device* os_freebsd::freebsd_scsi_device::m_camdev [private] |
Definition at line 901 of file os_freebsd.cpp.
int os_freebsd::freebsd_scsi_device::m_fd [private] |
filedesc, -1 if not open.
Reimplemented from os_freebsd::freebsd_smart_device.
Definition at line 900 of file os_freebsd.cpp.
1.7.4