This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / linux / dm-ioctl.h
index 183e777..03f99db 100644 (file)
@@ -1,6 +1,5 @@
 /*
  * Copyright (C) 2001 - 2003 Sistina Software (UK) Limited.
- * Copyright (C) 2004 Red Hat, Inc. All rights reserved.
  *
  * This file is released under the LGPL.
  */
@@ -77,9 +76,6 @@
  *
  * DM_TABLE_STATUS:
  * Return the targets status for the 'active' table.
- *
- * DM_TARGET_MSG:
- * Pass a message string to the target at a specific offset of a device.
  */
 
 /*
@@ -182,15 +178,6 @@ struct dm_target_versions {
         char name[0];
 };
 
-/*
- * Used to pass message to a target
- */
-struct dm_target_msg {
-       uint64_t sector;        /* Device sector */
-
-       char message[0];
-};
-
 /*
  * If you change this make sure you make the corresponding change
  * to dm-ioctl.c:lookup_ioctl()
@@ -217,7 +204,6 @@ enum {
 
        /* Added later */
        DM_LIST_VERSIONS_CMD,
-       DM_TARGET_MSG_CMD,
 };
 
 /*
@@ -246,7 +232,6 @@ typedef char ioctl_struct[308];
 #define DM_TABLE_DEPS_32    _IOWR(DM_IOCTL, DM_TABLE_DEPS_CMD, ioctl_struct)
 #define DM_TABLE_STATUS_32  _IOWR(DM_IOCTL, DM_TABLE_STATUS_CMD, ioctl_struct)
 #define DM_LIST_VERSIONS_32 _IOWR(DM_IOCTL, DM_LIST_VERSIONS_CMD, ioctl_struct)
-#define DM_TARGET_MSG_32    _IOWR(DM_IOCTL, DM_TARGET_MSG_CMD, ioctl_struct)
 #endif
 
 #define DM_IOCTL 0xfd
@@ -269,12 +254,10 @@ typedef char ioctl_struct[308];
 
 #define DM_LIST_VERSIONS _IOWR(DM_IOCTL, DM_LIST_VERSIONS_CMD, struct dm_ioctl)
 
-#define DM_TARGET_MSG   _IOWR(DM_IOCTL, DM_TARGET_MSG_CMD, struct dm_ioctl)
-
 #define DM_VERSION_MAJOR       4
-#define DM_VERSION_MINOR       3
+#define DM_VERSION_MINOR       1
 #define DM_VERSION_PATCHLEVEL  0
-#define DM_VERSION_EXTRA       "-ioctl (2004-09-30)"
+#define DM_VERSION_EXTRA       "-ioctl (2003-12-10)"
 
 /* Status bits */
 #define DM_READONLY_FLAG       (1 << 0) /* In/Out */