diff options
author | dfr <dfr@FreeBSD.org> | 1998-06-07 17:13:14 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-06-07 17:13:14 +0000 |
commit | 1d5f38ac2264102518a09c66a7b285f57e81e67e (patch) | |
tree | 83ce2f0e2b8041d2c933d3beffc1f4465ea5b929 /sys/kern/tty_compat.c | |
parent | 83423d0e5a4ad035e44392f0427cb39232031e45 (diff) | |
download | FreeBSD-src-1d5f38ac2264102518a09c66a7b285f57e81e67e.zip FreeBSD-src-1d5f38ac2264102518a09c66a7b285f57e81e67e.tar.gz |
This commit fixes various 64bit portability problems required for
FreeBSD/alpha. The most significant item is to change the command
argument to ioctl functions from int to u_long. This change brings us
inline with various other BSD versions. Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.
The prototype FreeBSD/alpha machdep will follow in a couple of days
time.
Diffstat (limited to 'sys/kern/tty_compat.c')
-rw-r--r-- | sys/kern/tty_compat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/tty_compat.c b/sys/kern/tty_compat.c index 59a3c4f..fa2ae5c 100644 --- a/sys/kern/tty_compat.c +++ b/sys/kern/tty_compat.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tty_compat.c 8.1 (Berkeley) 6/10/93 - * $Id: tty_compat.c,v 1.26 1998/01/25 17:25:34 steve Exp $ + * $Id: tty_compat.c,v 1.27 1998/02/25 06:16:37 bde Exp $ */ #include "opt_compat.h" @@ -99,7 +99,7 @@ ttcompatspeedtab(speed, table) int ttsetcompat(tp, com, data, term) register struct tty *tp; - int *com; + u_long *com; caddr_t data; struct termios *term; { @@ -182,7 +182,7 @@ ttsetcompat(tp, com, data, term) int ttcompat(tp, com, data, flag) register struct tty *tp; - int com; + u_long com; caddr_t data; int flag; { |