38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
--- modules/freebsd/vmxnet/if_vxn.c.orig 2009-12-31 09:34:42.000000000 +0100
|
|
+++ modules/freebsd/vmxnet/if_vxn.c 2009-12-31 09:36:56.000000000 +0100
|
|
@@ -134,7 +134,9 @@
|
|
static void vxn_init(void *);
|
|
static void vxn_start(struct ifnet *);
|
|
static int vxn_ioctl(struct ifnet *, u_long, caddr_t);
|
|
+#if __FreeBSD_version <= 900000
|
|
static void vxn_watchdog(struct ifnet *);
|
|
+#endif
|
|
static void vxn_intr (void *);
|
|
|
|
static void vxn_rx(vxn_softc_t *sc);
|
|
@@ -383,7 +385,9 @@
|
|
ifp->if_ioctl = vxn_ioctl;
|
|
ifp->if_output = ether_output;
|
|
ifp->if_start = vxn_start;
|
|
+#if __FreeBSD_version <= 900000
|
|
ifp->if_watchdog = vxn_watchdog;
|
|
+#endif
|
|
ifp->if_init = vxn_init;
|
|
ifp->if_baudrate = 1000000000;
|
|
ifp->if_snd.ifq_maxlen = sc->vxn_num_tx_bufs;
|
|
@@ -1018,6 +1022,7 @@
|
|
return error;
|
|
}
|
|
|
|
+#if __FreeBSD_version <= 900000
|
|
/*
|
|
*-----------------------------------------------------------------------------
|
|
* vxn_watchdog --
|
|
@@ -1035,6 +1040,7 @@
|
|
{
|
|
printf("vxn%d: watchdog\n", VXN_IF_UNIT(ifp));
|
|
}
|
|
+#endif
|
|
|
|
/*
|
|
*-----------------------------------------------------------------------------
|