From 769aaa4c3a49c6311b0f1dc5ee232b49853c54af Mon Sep 17 00:00:00 2001 From: marcel Date: Tue, 6 Jul 1999 11:41:48 +0000 Subject: Trivial implementation of TIOCM{S|G}ET and TIOCMBI{S|C} ioctls. No need to convert the arguments. --- sys/compat/linux/linux_ioctl.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'sys/compat/linux/linux_ioctl.c') diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 30f94d6..d81eab9 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/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 @@ -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); -- cgit v1.1