smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Namespaces | Macros | Variables
os_netbsd.cpp File Reference
#include "config.h"
#include "atacmds.h"
#include "scsicmds.h"
#include "utility.h"
#include "os_netbsd.h"
#include <sys/drvctlio.h>
#include <sys/utsname.h>
#include <sys/stat.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

namespace  os_netbsd
 

Macros

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

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

◆ ARGUSED

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

Definition at line 31 of file os_netbsd.cpp.

Variable Documentation

◆ os_netbsd_cpp_cvsid

const char* os_netbsd_cpp_cvsid
Initial value:
= "$Id: os_netbsd.cpp 5393 2022-05-29 05:08:10Z dpgilbert $"
#define OS_NETBSD_H_CVSID
Definition: os_netbsd.h:14

Definition at line 28 of file os_netbsd.cpp.