From ecbb00a2629050fd720dc376a33c45f4ad767cea Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Sun, 7 Jun 1998 17:13:14 +0000 Subject: 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. --- sys/dev/vx/if_vx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/vx/if_vx.c') diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c index abefc3c5f6e0a..c02fd753fcc70 100644 --- a/sys/dev/vx/if_vx.c +++ b/sys/dev/vx/if_vx.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: if_vx.c,v 1.16 1998/02/21 05:35:02 gpalmer Exp $ * */ @@ -118,7 +118,7 @@ static struct connector_entry { static void vxtxstat __P((struct vx_softc *)); static int vxstatus __P((struct vx_softc *)); static void vxinit __P((void *)); -static int vxioctl __P((struct ifnet *, int, caddr_t)); +static int vxioctl __P((struct ifnet *, u_long, caddr_t)); static void vxstart __P((struct ifnet *ifp)); static void vxwatchdog __P((struct ifnet *)); static void vxreset __P((struct vx_softc *)); @@ -896,7 +896,7 @@ vxget(sc, totlen) static int vxioctl(ifp, cmd, data) register struct ifnet *ifp; - int cmd; + u_long cmd; caddr_t data; { struct vx_softc *sc = vx_softc[ifp->if_unit]; -- cgit v1.3