]> git.proxmox.com Git - mirror_smartmontools-debian.git/blobdiff - os_freebsd.h
Stop passing arguments to dh_installinit
[mirror_smartmontools-debian.git] / os_freebsd.h
index 6793a43484e112a39b1aa52f61ab96e1e8bb35a1..4832154399dad36f6f76a47e2cf74c7974bdd693 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * os_freebsd.h
  *
- * Home page of code is: http://smartmontools.sourceforge.net
+ * Home page of code is: http://www.smartmontools.org
  *
  * Copyright (C) 2003-8 Eduard Martinescu <smartmontools-support@lists.sourceforge.net>
  *
@@ -11,8 +11,8 @@
  * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * (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
 #ifndef OS_FREEBSD_H_
 #define OS_FREEBSD_H_
 
-#define OS_FREEBSD_H_CVSID "$Id: os_freebsd.h,v 1.26 2009/01/14 02:39:00 sxzzsf Exp $\n"
+#define OS_FREEBSD_H_CVSID "$Id: os_freebsd.h 4120 2015-08-27 16:12:21Z samm2 $"
 
-struct freebsd_dev_channel {
-  int   channel;                // the ATA channel to work with
-  int   device;                 // the device on the channel
-#ifndef IOCATAREQUEST
-  int   atacommand;             // the ATA Command file descriptor (/dev/ata)
-#endif
-  char* devname;                // the SCSI device name
-  int   unitnum;                // the SCSI unit number
-};
-
-#define FREEBSD_MAXDEV 64
-#define FREEBSD_FDOFFSET 16
 #define MAX_NUM_DEV 26
 
 #ifdef  HAVE_SYS_TWEREG_H
@@ -587,6 +575,7 @@ typedef struct tw_osli_ioctl_with_payload {
 #define MAXDEV_PER_CHANNEL 2
 #define PMPORT_PER_CHANNEL 15 /* max devices connected to this channel via pmport */
 
+#pragma pack(1)
 typedef struct _HPT_CHANNEL_INFO {
   unsigned int reserve1;
   unsigned int reserve2;
@@ -624,6 +613,7 @@ typedef struct _HPT_PASS_THROUGH_HEADER {
   unsigned char reserve[3];
 }
 HPT_PASS_THROUGH_HEADER, *PHPT_PASS_THROUGH_HEADER;
+#pragma pack()
 
 #ifndef __unused
 #define __unused __attribute__ ((__unused__))