chiark / gitweb /
[PATCH] more extras/multipath updates
[elogind.git] / extras / multipath / main.h
index 43a24ac7bc93c415dcfb1d4092fd900d16753c58..692e5e45953ed9e22d02ccb52c628a00712c9068 100644 (file)
 
 /* local includes */
 #include "sg_include.h"
-#include "sg_err.h"
+
+/* exerpt from "sg_err.h" */
+#define SCSI_CHECK_CONDITION   0x2
+#define SCSI_COMMAND_TERMINATED 0x22
+#define SG_ERR_DRIVER_SENSE     0x08
+
+/* exerpt from "scsi.h" */
+#define RECOVERED_ERROR     0x01
+#define SCSI_IOCTL_GET_IDLUN            0x5382
+#define SCSI_IOCTL_GET_BUS_NUMBER       0x5386
 
 /* global defs */
 #define WWID_SIZE      33
@@ -96,8 +105,8 @@ struct env {
 /* Build version */
 #define PROG    "multipath"
 
-#define VERSION_CODE 0x000005
-#define DATE_CODE    0x120903
+#define VERSION_CODE 0x000009
+#define DATE_CODE    0x0C0503
 
 #define MULTIPATH_VERSION(version)     \
        (version >> 16) & 0xFF,         \