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/subr_xxx.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/subr_xxx.c')
-rw-r--r-- | sys/kern/subr_xxx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_xxx.c b/sys/kern/subr_xxx.c index 06e7320..6145679 100644 --- a/sys/kern/subr_xxx.c +++ b/sys/kern/subr_xxx.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)subr_xxx.c 8.1 (Berkeley) 6/10/93 - * $Id: subr_xxx.c,v 1.8 1997/02/22 09:39:18 peter Exp $ + * $Id: subr_xxx.c,v 1.9 1997/09/14 02:50:28 peter Exp $ */ /* @@ -124,7 +124,7 @@ nowrite(dev, uio, ioflag) int noioctl(dev, cmd, data, flags, p) dev_t dev; - int cmd; + u_long cmd; caddr_t data; int flags; struct proc *p; @@ -267,7 +267,7 @@ nxwrite(dev, uio, ioflag) int nxioctl(dev, cmd, data, flags, p) dev_t dev; - int cmd; + u_long cmd; caddr_t data; int flags; struct proc *p; |