summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/transport/ChangeLog5
-rw-r--r--runtime/transport/control.c6
-rw-r--r--runtime/transport/transport_msgs.h1
3 files changed, 12 insertions, 0 deletions
diff --git a/runtime/transport/ChangeLog b/runtime/transport/ChangeLog
index 61d42908..498b2568 100644
--- a/runtime/transport/ChangeLog
+++ b/runtime/transport/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-21 Martin Hunt <hunt@redhat.com>
+
+ * control.c (_stp_ctl_write_cmd): Add support for STP_BULK.
+ * transport_msgs.h (enum): Add STP_BULK.
+
2007-06-18 Martin Hunt <hunt@redhat.com>
* control.c (_stp_register_ctl_channel): Fix mode of cmd file.
diff --git a/runtime/transport/control.c b/runtime/transport/control.c
index 7b14901e..68c3b9ae 100644
--- a/runtime/transport/control.c
+++ b/runtime/transport/control.c
@@ -59,6 +59,12 @@ static ssize_t _stp_ctl_write_cmd (struct file *file, const char __user *buf,
case STP_EXIT:
_stp_exit_flag = 1;
break;
+ case STP_BULK:
+#ifdef STP_BULKMODE
+ return count;
+#else
+ return -1;
+#endif
default:
errk ("invalid command type %d\n", type);
return -EINVAL;
diff --git a/runtime/transport/transport_msgs.h b/runtime/transport/transport_msgs.h
index dbbee41d..c6090969 100644
--- a/runtime/transport/transport_msgs.h
+++ b/runtime/transport/transport_msgs.h
@@ -26,6 +26,7 @@ enum
STP_TRANSPORT,
STP_CONNECT,
STP_DISCONNECT,
+ STP_BULK,
#ifdef STP_OLD_TRANSPORT
/** deprecated **/
STP_BUF_INFO,