smartmontools  SVN Rev 4345
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Namespaces | Macros | Enumerations | Functions | Variables
os_netbsd.cpp File Reference
#include "config.h"
#include "int64.h"
#include "atacmds.h"
#include "scsicmds.h"
#include "utility.h"
#include "os_netbsd.h"
#include <sys/drvctlio.h>
#include <sys/utsname.h>
#include <errno.h>
#include <unistd.h>
#include "netbsd_nvme_ioctl.h"
Include dependency graph for os_netbsd.cpp:

Go to the source code of this file.

Classes

class  os_netbsd::netbsd_smart_device
 Implement shared open/close routines with old functions. More...
 
class  os_netbsd::netbsd_ata_device
 Implement standard ATA support. More...
 
class  os_netbsd::netbsd_nvme_device
 NVMe support. More...
 
class  os_netbsd::netbsd_scsi_device
 Standard SCSI support. More...
 
class  os_netbsd::netbsd_smart_interface
 Implement platform interface with old functions. More...
 

Namespaces

 os_netbsd
 

Macros

#define ARGUSED(x)   ((void)(x))
 

Enumerations

enum  warnings { BAD_SMART, MAX_MSG, BAD_SMART, MAX_MSG }
 

Functions

void printwarning (int msgNo, const char *extra)
 

Variables

const char * os_netbsd_cpp_cvsid
 
static const char * os_netbsd::net_dev_prefix = "/dev/"
 
static const char * os_netbsd::net_dev_raw_prefix = "/dev/r"
 
static const char * os_netbsd::net_dev_ata_disk = "wd"
 
static const char * os_netbsd::net_dev_scsi_disk = "sd"
 
static const char * os_netbsd::net_dev_scsi_tape = "enrst"
 
static const char * os_netbsd::net_dev_nvme_ctrl = "nvme"
 

Macro Definition Documentation

#define ARGUSED (   x)    ((void)(x))

Definition at line 63 of file os_netbsd.cpp.

Enumeration Type Documentation

enum warnings
Enumerator
BAD_SMART 
MAX_MSG 
BAD_SMART 
MAX_MSG 

Definition at line 38 of file os_netbsd.cpp.

Function Documentation

void printwarning ( int  msgNo,
const char *  extra 
)

Definition at line 44 of file os_netbsd.cpp.

Variable Documentation

const char* os_netbsd_cpp_cvsid
Initial value:
= "$Id: os_netbsd.cpp 4343 2016-09-25 16:46:49Z chrfranke $"
#define OS_NETBSD_H_CVSID
Definition: os_netbsd.h:27

Definition at line 35 of file os_netbsd.cpp.