/* * os_openbsd.h * * Home page of code is: http://smartmontools.sourceforge.net * * Copyright (C) 2004-8 David Snyder * * Derived from os_netbsd.c by Sergey Svishchev , Copyright (C) 2003-8 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * You should have received a copy of the GNU General Public License * (for example COPYING); if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This code was originally developed as a Senior Thesis by Michael Cornwell * at the Concurrent Systems Laboratory (now part of the Storage Systems * Research Center), Jack Baskin School of Engineering, University of * California, Santa Cruz. http://ssrc.soe.ucsc.edu/ * */ #ifndef OS_OPENBSD_H_ #define OS_OPENBSD_H_ #define OS_OPENBSD_H_CVSID "$Id: os_openbsd.h,v 1.1.1.2 2013/07/22 01:17:35 misho Exp $\n" /* from NetBSD: atareg.h,v 1.17, by Manuel Bouyer */ /* Actually fits _perfectly_ into OBSDs wdcreg.h, but... */ /* Subcommands for SMART (features register) */ #define WDSMART_CYL 0xc24f #include #include #include #include #include #define ata_smart_selftestlog __openbsd_ata_smart_selftestlog #include #if HAVE_DEV_ATA_ATAVAR_H #include #endif #include #undef ata_smart_selftestlog #include #include #include #include #endif /* OS_OPENBSD_H_ */