aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_xxx.c
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1998-06-07 17:13:14 +0000
committerDoug Rabson <dfr@FreeBSD.org>1998-06-07 17:13:14 +0000
commitecbb00a2629050fd720dc376a33c45f4ad767cea (patch)
tree1113fd99d363889650b503b7f993603f9423465a /sys/kern/subr_xxx.c
parent37a8b7dcb8bdd78373c1d4afa4c423c119314e86 (diff)
downloadsrc-ecbb00a2629050fd720dc376a33c45f4ad767cea.tar.gz
src-ecbb00a2629050fd720dc376a33c45f4ad767cea.zip
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.
Notes
Notes: svn path=/head/; revision=36735
Diffstat (limited to 'sys/kern/subr_xxx.c')
-rw-r--r--sys/kern/subr_xxx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_xxx.c b/sys/kern/subr_xxx.c
index 06e732061cfa..6145679f52e5 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;