aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fe
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/dev/fe
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/dev/fe')
-rw-r--r--sys/dev/fe/if_fe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c
index 81a4b72696a4..8fae12310ee9 100644
--- a/sys/dev/fe/if_fe.c
+++ b/sys/dev/fe/if_fe.c
@@ -21,7 +21,7 @@
*/
/*
- * $Id: if_fe.c,v 1.39 1998/02/27 06:39:31 msmith Exp $
+ * $Id: if_fe.c,v 1.40 1998/03/28 13:24:09 bde Exp $
*
* Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards.
* To be used with FreeBSD 2.x
@@ -239,7 +239,7 @@ static struct fe_softc {
static int fe_probe ( struct isa_device * );
static int fe_attach ( struct isa_device * );
static void fe_init ( int );
-static int fe_ioctl ( struct ifnet *, int, caddr_t );
+static int fe_ioctl ( struct ifnet *, u_long, caddr_t );
static void fe_start ( struct ifnet * );
static void fe_reset ( int );
static void fe_watchdog ( struct ifnet * );
@@ -2471,7 +2471,7 @@ feintr ( int unit )
* pretty ugly.
*/
static int
-fe_ioctl ( struct ifnet * ifp, int command, caddr_t data )
+fe_ioctl ( struct ifnet * ifp, u_long command, caddr_t data )
{
struct fe_softc *sc = ifp->if_softc;
int s, error = 0;