smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Member Functions | Private Attributes
os_freebsd::freebsd_scsi_device Class Reference

Standard SCSI support. More...

Collaboration diagram for os_freebsd::freebsd_scsi_device:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 freebsd_scsi_device (smart_interface *intf, const char *dev_name, const char *req_type)
virtual smart_deviceautodetect_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

struct cam_device * m_camdev

Detailed Description

Standard SCSI support.

Definition at line 881 of file os_freebsd.cpp.


Constructor & Destructor Documentation

os_freebsd::freebsd_scsi_device::freebsd_scsi_device ( smart_interface intf,
const char *  dev_name,
const char *  req_type 
)

Definition at line 917 of file os_freebsd.cpp.


Member Function Documentation

smart_device * os_freebsd::freebsd_scsi_device::autodetect_open ( ) [virtual]

SCSI open with autodetection support.

Reimplemented from smart_device.

Definition at line 1278 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 911 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 900 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 925 of file os_freebsd.cpp.


Member Data Documentation

struct cam_device* os_freebsd::freebsd_scsi_device::m_camdev [private]

Definition at line 897 of file os_freebsd.cpp.


The documentation for this class was generated from the following file: