summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux_ioctl.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-07-06 11:41:48 +0000
committermarcel <marcel@FreeBSD.org>1999-07-06 11:41:48 +0000
commit769aaa4c3a49c6311b0f1dc5ee232b49853c54af (patch)
tree5922169900315d1be88b3c9353778c642e6af6f9 /sys/i386/linux/linux_ioctl.c
parentde4ef9879cb2266bcb7d1a7c992a0515578d27fd (diff)
downloadFreeBSD-src-769aaa4c3a49c6311b0f1dc5ee232b49853c54af.zip
FreeBSD-src-769aaa4c3a49c6311b0f1dc5ee232b49853c54af.tar.gz
Trivial implementation of TIOCM{S|G}ET and TIOCMBI{S|C} ioctls. No need
to convert the arguments.
Diffstat (limited to 'sys/i386/linux/linux_ioctl.c')
-rw-r--r--sys/i386/linux/linux_ioctl.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/sys/i386/linux/linux_ioctl.c b/sys/i386/linux/linux_ioctl.c
index 30f94d6..d81eab9 100644
--- a/sys/i386/linux/linux_ioctl.c
+++ b/sys/i386/linux/linux_ioctl.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_ioctl.c,v 1.32 1999/05/06 18:44:22 peter Exp $
+ * $Id: linux_ioctl.c,v 1.33 1999/05/09 16:04:04 peter Exp $
*/
#include <sys/param.h>
@@ -597,6 +597,22 @@ linux_ioctl(struct proc *p, struct linux_ioctl_args *args)
args->cmd = TIOCSWINSZ;
return ioctl(p, (struct ioctl_args *)args);
+ case LINUX_TIOCMGET:
+ args->cmd = TIOCMGET;
+ return ioctl(p, (struct ioctl_args *)args);
+
+ case LINUX_TIOCMBIS:
+ args->cmd = TIOCMBIS;
+ return ioctl(p, (struct ioctl_args *)args);
+
+ case LINUX_TIOCMBIC:
+ args->cmd = TIOCMBIC;
+ return ioctl(p, (struct ioctl_args *)args);
+
+ case LINUX_TIOCMSET:
+ args->cmd = TIOCMSET;
+ return ioctl(p, (struct ioctl_args *)args);
+
case LINUX_FIONREAD:
args->cmd = FIONREAD;
return ioctl(p, (struct ioctl_args *)args);
OpenPOWER on IntegriCloud