From 66f08017b92f685f9e62f76731c9cfc79a53f0b0 Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 21 Jun 2007 04:10:03 +0000 Subject: 2007-06-21 Martin Hunt * control.c (_stp_ctl_write_cmd): Add support for STP_BULK. * transport_msgs.h (enum): Add STP_BULK. --- runtime/transport/control.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'runtime/transport/control.c') 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; -- cgit