]>
Commit | Line | Data |
---|---|---|
832b75ed GG |
1 | /* |
2 | * os_netbsd.h | |
3 | * | |
a86ec89e | 4 | * Home page of code is: http://www.smartmontools.org |
832b75ed | 5 | * |
f9e10201 | 6 | * Copyright (C) 2003-8 Sergey Svishchev |
832b75ed | 7 | * |
ff28b140 | 8 | * SPDX-License-Identifier: GPL-2.0-or-later |
832b75ed GG |
9 | */ |
10 | ||
11 | #ifndef OS_NETBSD_H_ | |
12 | #define OS_NETBSD_H_ | |
13 | ||
ff28b140 | 14 | #define OS_NETBSD_H_CVSID "$Id: os_netbsd.h 4760 2018-08-19 18:45:53Z chrfranke $\n" |
832b75ed GG |
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_ */ |