smartmontools
SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
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 Wed Nov 20 2024 22:05:02 for smartmontools by
1.9.6