weerok

http://ogris.de/vmware/vmxnet.diff

Nov 12th, 2012
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. diff -dru vmxnet-only.orig/if_vxn.c vmxnet-only/if_vxn.c
  2. --- vmxnet-only.orig/if_vxn.c 2012-02-15 16:07:44.000000000 +0100
  3. +++ vmxnet-only/if_vxn.c 2012-05-20 11:50:34.932392264 +0200
  4. @@ -135,7 +135,6 @@
  5. static void vxn_init(void *);
  6. static void vxn_start(struct ifnet *);
  7. static int vxn_ioctl(struct ifnet *, u_long, caddr_t);
  8. -static void vxn_watchdog(struct ifnet *);
  9. static void vxn_intr (void *);
  10.  
  11. static void vxn_rx(vxn_softc_t *sc);
  12. @@ -471,7 +470,6 @@
  13. ifp->if_ioctl = vxn_ioctl;
  14. ifp->if_output = ether_output;
  15. ifp->if_start = vxn_start;
  16. - ifp->if_watchdog = vxn_watchdog;
  17. ifp->if_init = vxn_init;
  18. ifp->if_baudrate = 1000000000;
  19. ifp->if_snd.ifq_maxlen = sc->vxn_num_tx_bufs;
  20. @@ -1148,24 +1146,6 @@
  21.  
  22. /*
  23. *-----------------------------------------------------------------------------
  24. - * vxn_watchdog --
  25. - * Watchdog function
  26. - *
  27. - * Results:
  28. - * None
  29. - *
  30. - * Side effects:
  31. - * Not implemented.
  32. - *-----------------------------------------------------------------------------
  33. - */
  34. -static void
  35. -vxn_watchdog(struct ifnet *ifp)
  36. -{
  37. - printf("vxn%d: watchdog\n", VXN_IF_UNIT(ifp));
  38. -}
  39. -
  40. -/*
  41. - *-----------------------------------------------------------------------------
  42. * vxn_intr --
  43. * Interrupt handler
  44. *
Add Comment
Please, Sign In to add comment