aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/isa/if_ie.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/i386/isa/if_ie.c
parent37a8b7dcb8bdd78373c1d4afa4c423c119314e86 (diff)
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/i386/isa/if_ie.c')
-rw-r--r--sys/i386/isa/if_ie.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/if_ie.c b/sys/i386/isa/if_ie.c
index a34f11d0a40c..0e96d6fa15df 100644
--- a/sys/i386/isa/if_ie.c
+++ b/sys/i386/isa/if_ie.c
@@ -47,7 +47,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ie.c,v 1.51 1998/03/28 13:24:13 bde Exp $
+ * $Id: if_ie.c,v 1.52 1998/04/15 17:45:20 bde Exp $
*/
/*
@@ -184,7 +184,7 @@ static int ee16_probe(struct isa_device * dvp);
static int check_ie_present(int unit, caddr_t where, unsigned size);
static void ieinit(int unit);
static void ie_stop(int unit);
-static int ieioctl(struct ifnet * ifp, int command, caddr_t data);
+static int ieioctl(struct ifnet * ifp, u_long command, caddr_t data);
static void iestart(struct ifnet * ifp);
static void el_reset_586(int unit);
@@ -2251,7 +2251,7 @@ ie_stop(int unit)
}
static int
-ieioctl(struct ifnet *ifp, int command, caddr_t data)
+ieioctl(struct ifnet *ifp, u_long command, caddr_t data)
{
struct ifaddr *ifa = (struct ifaddr *) data;
struct ie_softc *ie = ifp->if_softc;