summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/network/open_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/libchip/network/open_eth.c')
-rw-r--r--c/src/libchip/network/open_eth.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/c/src/libchip/network/open_eth.c b/c/src/libchip/network/open_eth.c
index fdbbf78ae3..f3dd89291d 100644
--- a/c/src/libchip/network/open_eth.c
+++ b/c/src/libchip/network/open_eth.c
@@ -55,6 +55,12 @@
#undef free
#endif
+/*
+ * XXX fix this
+ */
+
+void *set_vector(void *, uint32_t, uint32_t);
+
/*
#define OPEN_ETH_DEBUG
*/
@@ -637,7 +643,7 @@ open_eth_stats (struct open_eth_softc *sc)
* Driver ioctl handler
*/
static int
-open_eth_ioctl (struct ifnet *ifp, int command, caddr_t data)
+open_eth_ioctl (struct ifnet *ifp, u_long command, caddr_t data)
{
struct open_eth_softc *sc = ifp->if_softc;
int error = 0;