]>
git.proxmox.com Git - mirror_smartmontools-debian.git/blob - os_netbsd.h
4 * Home page of code is: http://www.smartmontools.org
6 * Copyright (C) 2003-8 Sergey Svishchev
8 * SPDX-License-Identifier: GPL-2.0-or-later
14 #define OS_NETBSD_H_CVSID "$Id: os_netbsd.h 4760 2018-08-19 18:45:53Z chrfranke $\n"
16 #include <sys/device.h>
17 #include <sys/param.h>
18 #include <sys/sysctl.h>
20 #include <sys/scsiio.h>
21 #include <sys/ataio.h>
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>
28 #include <dev/ic/wdcreg.h>
29 #undef ata_smart_selftestlog
35 #ifndef WDSM_RD_THRESHOLDS /* pre-1.6.2 system */
36 #define WDSM_RD_THRESHOLDS 0xd1
39 #define WDSMART_CYL 0xc24f
42 #endif /* OS_NETBSD_H_ */