]> git.proxmox.com Git - mirror_smartmontools-debian.git/blobdiff - os_linux.h
Do not Build-depends in libcap-ng-dev in armel, libcap-ng is broken in this arch.
[mirror_smartmontools-debian.git] / os_linux.h
index 71a41022df4e32538349f1fb22037bbfaca62cf7..5fabc0475dcebced9f37a45344871f05283b99cf 100644 (file)
@@ -3,13 +3,13 @@
  * 
  * Home page of code is: http://smartmontools.sourceforge.net
  *
- * Copyright (C) 2003-6 Bruce Allen <smartmontools-support@lists.sourceforge.net>
+ * Copyright (C) 2003-8 Bruce Allen <smartmontools-support@lists.sourceforge.net>
  *
  * Derived from code that was
  *
  *  Written By: Adam Radford <linux@3ware.com>
  *  Modifications By: Joel Jacobson <linux@3ware.com>
- *                   Arnaldo Carvalho de Melo <acme@conectiva.com.br>
+ *                    Arnaldo Carvalho de Melo <acme@conectiva.com.br>
  *                    Brad Strand <linux@3ware.com>
  *
  *  Copyright (C) 1999-2003 3ware Inc.
@@ -38,7 +38,7 @@
 #ifndef OS_LINUX_H_
 #define OS_LINUX_H_
 
-#define OS_LINUX_H_CVSID "$Id: os_linux.h,v 1.24 2006/04/12 14:54:28 ballen4705 Exp $\n"
+#define OS_LINUX_H_CVSID "$Id: os_linux.h,v 1.27 2008/03/04 22:09:47 ballen4705 Exp $\n"
 
 /* 
    The following definitions/macros/prototypes are used for three
@@ -76,10 +76,7 @@ typedef struct TAG_TW_Passthru {
   } byte0;
   unsigned char size;
   unsigned char request_id;
-  struct { 
-    unsigned char aport:4;
-    unsigned char host_id:4;
-  } byte3;
+  unsigned char unit;
   unsigned char status;  // On return, contains 3ware STATUS register
   unsigned char flags;
   unsigned short param;
@@ -387,4 +384,6 @@ typedef struct ide_task_request_s {
 #define HDIO_DRIVE_TASKFILE       0x031d
 #define HDIO_GET_IDENTITY         0x030d
 
+#define HPTIO_CTL                       0x03ff // ioctl interface for HighPoint raid device
+
 #endif /* OS_LINUX_H_ */