diff options
author | peter <peter@FreeBSD.org> | 1996-03-04 11:15:19 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-03-04 11:15:19 +0000 |
commit | 1aa838b292ec79abeb0c74a9e3cf5d256751e2bf (patch) | |
tree | 1ae8352fa1ffd2a59a62538f2d238ebe80499a74 /sys/compat | |
parent | ffc84438c15eb96fea8025b948000f5e7ece8bf8 (diff) | |
download | FreeBSD-src-1aa838b292ec79abeb0c74a9e3cf5d256751e2bf.zip FreeBSD-src-1aa838b292ec79abeb0c74a9e3cf5d256751e2bf.tar.gz |
Add support for LINUX_TCSETAW and LINUX_TCSETAF, which Linux-pine uses.
Submitted by: Robert Sanders <rsanders@mindspring.com>
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 9aba59f..1dea454 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.6 1996/03/02 19:37:55 peter Exp $ + * $Id: linux_ioctl.c,v 1.7 1996/03/03 19:07:50 peter Exp $ */ #include <sys/param.h> @@ -452,6 +452,14 @@ linux_ioctl(struct proc *p, struct linux_ioctl_args *args, int *retval) linux_to_bsd_termio((struct linux_termio *)args->arg, &bsd_termios); return (*func)(fp, TIOCSETA, (caddr_t)&bsd_termios, p); + case LINUX_TCSETAW: + linux_to_bsd_termio((struct linux_termio *)args->arg, &bsd_termios); + return (*func)(fp, TIOCSETAW, (caddr_t)&bsd_termios, p); + + case LINUX_TCSETAF: + linux_to_bsd_termio((struct linux_termio *)args->arg, &bsd_termios); + return (*func)(fp, TIOCSETAF, (caddr_t)&bsd_termios, p); + case LINUX_TCGETS: if ((error = (*func)(fp, TIOCGETA, (caddr_t)&bsd_termios, p)) != 0) return error; |