smartmontools
SVN Rev 5680
Utility to control and monitor storage systems with "S.M.A.R.T."
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
c
d
f
g
i
l
m
n
p
r
s
u
w
Functions
a
c
d
f
g
i
m
n
p
r
s
u
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
_
a
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
Enumerations
Enumerator
a
d
f
m
n
p
s
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
c
d
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
a
b
c
d
e
f
g
h
i
n
p
s
t
Enumerations
Enumerator
a
b
c
d
e
i
m
o
p
q
r
s
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
os_netbsd.h
Go to the documentation of this file.
1
/*
2
* os_netbsd.h
3
*
4
* Home page of code is: http://www.smartmontools.org
5
*
6
* Copyright (C) 2003-8 Sergey Svishchev
7
*
8
* SPDX-License-Identifier: GPL-2.0-or-later
9
*/
10
11
#ifndef OS_NETBSD_H_
12
#define OS_NETBSD_H_
13
14
#define OS_NETBSD_H_CVSID "$Id: os_netbsd.h 4760 2018-08-19 18:45:53Z chrfranke $\n"
15
16
#include <sys/device.h>
17
#include <sys/param.h>
18
#include <sys/sysctl.h>
19
20
#include <sys/scsiio.h>
21
#include <sys/ataio.h>
22
23
#define ata_smart_selftestlog __netbsd_ata_smart_selftestlog
24
#include <dev/ata/atareg.h>
25
#if HAVE_DEV_ATA_ATAVAR_H
26
#include <dev/ata/atavar.h>
27
#endif
28
#include <dev/ic/wdcreg.h>
29
#undef ata_smart_selftestlog
30
31
#include <err.h>
32
#include <fcntl.h>
33
#include <util.h>
34
35
#ifndef WDSM_RD_THRESHOLDS
/* pre-1.6.2 system */
36
#define WDSM_RD_THRESHOLDS 0xd1
37
#endif
38
#ifndef WDSMART_CYL
39
#define WDSMART_CYL 0xc24f
40
#endif
41
42
#endif
/* OS_NETBSD_H_ */
Generated on Thu Mar 27 2025 22:05:02 for smartmontools by
1.9.6