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/i386/isa/if_ze.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/i386/isa/if_ze.c')
-rw-r--r-- | sys/i386/isa/if_ze.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/if_ze.c b/sys/i386/isa/if_ze.c index c420c4e..83e3957 100644 --- a/sys/i386/isa/if_ze.c +++ b/sys/i386/isa/if_ze.c @@ -47,7 +47,7 @@ */ /* - * $Id: if_ze.c,v 1.51 1998/03/28 13:24:24 bde Exp $ + * $Id: if_ze.c,v 1.52 1998/04/15 17:45:26 bde Exp $ */ /* XXX don't mix different PCCARD support code. */ @@ -167,7 +167,7 @@ static void ze_init __P((int unit)); static __inline void ze_xmit __P((struct ifnet *ifp)); static void ze_start __P((struct ifnet *ifp)); static __inline void ze_rint __P((int unit)); -static int ze_ioctl __P((struct ifnet *ifp, int command, caddr_t data)); +static int ze_ioctl __P((struct ifnet *ifp, u_long command, caddr_t data)); static void ze_get_packet __P((struct ze_softc *sc, char *buf, int len)); static __inline char *ze_ring_copy __P((struct ze_softc *sc, char *src, char *dst, int amount)); @@ -1322,7 +1322,7 @@ zeintr(unit) static int ze_ioctl(ifp, command, data) register struct ifnet *ifp; - int command; + u_long command; caddr_t data; { register struct ifaddr *ifa = (struct ifaddr *)data; |