From 6bf18aa85e1e6ab9a095ca02e7db9e35fd56a5c0 Mon Sep 17 00:00:00 2001 From: njoly Date: Mon, 26 Mar 2007 12:26:11 +0000 Subject: [PATCH] Update i386 LINUX_{TIOCGPTN,TIOCSPTLCK} definitions for latest linux_ioctl_termios() changes. --- sys/compat/linux/arch/i386/linux_termios.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/compat/linux/arch/i386/linux_termios.h b/sys/compat/linux/arch/i386/linux_termios.h index 66184fde3ad7..0b06a3fb150a 100644 --- a/sys/compat/linux/arch/i386/linux_termios.h +++ b/sys/compat/linux/arch/i386/linux_termios.h @@ -1,4 +1,4 @@ -/* $NetBSD: linux_termios.h,v 1.8 2006/09/22 15:12:02 christos Exp $ */ +/* $NetBSD: linux_termios.h,v 1.9 2007/03/26 12:26:11 njoly Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -81,8 +81,9 @@ #define LINUX_TIOCGETD _LINUX_IO('T', 36) #define LINUX_TCSBRKP _LINUX_IO('T', 37) #define LINUX_TIOCTTYGSTRUCT _LINUX_IO('T', 38) -#define LINUX_TIOCGPTN _LINUX_IO('T', 48) -#define LINUX_TIOCSPTLCK _LINUX_IO('T', 49) + +#define LINUX_TIOCGPTN _LINUX_IOR('T', 48, unsigned int) +#define LINUX_TIOCSPTLCK _LINUX_IOW('T', 49, int) #define LINUX_FIONCLEX _LINUX_IO('T', 80) #define LINUX_FIOCLEX _LINUX_IO('T', 81)