]> git.proxmox.com Git - mirror_smartmontools-debian.git/blame - os_netbsd.h
Correct maintscript syntax
[mirror_smartmontools-debian.git] / os_netbsd.h
CommitLineData
832b75ed
GG
1/*
2 * os_netbsd.h
3 *
4 * Home page of code is: http://smartmontools.sourceforge.net
5 *
34ad0c5f 6 * Copyright (C) 2003-8 Sergey Svishchev <smartmontools-support@lists.sourceforge.net>
832b75ed
GG
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2, or (at your option)
11 * any later version.
12 *
13 * You should have received a copy of the GNU General Public License
ee38a438
GI
14 * (for example COPYING); if not, write to the Free Software Foundation,
15 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
832b75ed
GG
16 *
17 * This code was originally developed as a Senior Thesis by Michael Cornwell
18 * at the Concurrent Systems Laboratory (now part of the Storage Systems
19 * Research Center), Jack Baskin School of Engineering, University of
20 * California, Santa Cruz. http://ssrc.soe.ucsc.edu/
21 *
22 */
23
24#ifndef OS_NETBSD_H_
25#define OS_NETBSD_H_
26
ee38a438 27#define OS_NETBSD_H_CVSID "$Id: os_netbsd.h 3728 2012-12-13 17:57:50Z chrfranke $\n"
832b75ed
GG
28
29#include <sys/device.h>
30#include <sys/param.h>
31#include <sys/sysctl.h>
32
33#include <sys/scsiio.h>
34#include <sys/ataio.h>
35
36#define ata_smart_selftestlog __netbsd_ata_smart_selftestlog
37#include <dev/ata/atareg.h>
38#if HAVE_DEV_ATA_ATAVAR_H
39#include <dev/ata/atavar.h>
40#endif
41#include <dev/ic/wdcreg.h>
42#undef ata_smart_selftestlog
43
44#include <err.h>
45#include <fcntl.h>
46#include <util.h>
47
48#ifndef WDSM_RD_THRESHOLDS /* pre-1.6.2 system */
49#define WDSM_RD_THRESHOLDS 0xd1
50#endif
51#ifndef WDSMART_CYL
52#define WDSMART_CYL 0xc24f
53#endif
54
55#endif /* OS_NETBSD_H_ */