diff options
Diffstat (limited to 'sys/dev/pci/if_san_xilinx.c')
-rw-r--r-- | sys/dev/pci/if_san_xilinx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_san_xilinx.c b/sys/dev/pci/if_san_xilinx.c index 317e78f9f9f..01cfe836e9c 100644 --- a/sys/dev/pci/if_san_xilinx.c +++ b/sys/dev/pci/if_san_xilinx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_san_xilinx.c,v 1.26 2011/09/18 11:17:57 miod Exp $ */ +/* $OpenBSD: if_san_xilinx.c,v 1.27 2012/09/19 22:37:23 jsg Exp $ */ /*- * Copyright (c) 2001-2004 Sangoma Technologies (SAN) @@ -206,7 +206,7 @@ static int wan_xilinx_release(sdla_t*, struct ifnet *); /* Network device interface */ static int wan_xilinx_up(struct ifnet *); static int wan_xilinx_down(struct ifnet *); -static int wan_xilinx_ioctl(struct ifnet *, int cmd, struct ifreq *); +static int wan_xilinx_ioctl(struct ifnet *, u_long cmd, struct ifreq *); static int wan_xilinx_send(struct mbuf *, struct ifnet *); static void handle_front_end_state(void *); @@ -668,7 +668,7 @@ wan_xilinx_dma_tx_try: } static int -wan_xilinx_ioctl(struct ifnet *ifp, int cmd, struct ifreq *ifr) +wan_xilinx_ioctl(struct ifnet *ifp, u_long cmd, struct ifreq *ifr) { xilinx_softc_t *sc = (xilinx_softc_t *)ifp->if_softc; struct mbuf *m; |