Author: hselasky
Date: Wed Jan 22 17:50:43 2014
New Revision: 261033
URL: http://svnweb.freebsd.org/changeset/base/261033

Log:
  We are using the old callout API and should also add one extra tick in
  the FreeBSD 10 case.
  
  Suggested by: mav @
  MFC after:    1 week

Modified:
  head/sys/dev/usb/usb_freebsd.h

Modified: head/sys/dev/usb/usb_freebsd.h
==============================================================================
--- head/sys/dev/usb/usb_freebsd.h      Wed Jan 22 17:15:17 2014        
(r261032)
+++ head/sys/dev/usb/usb_freebsd.h      Wed Jan 22 17:50:43 2014        
(r261033)
@@ -51,11 +51,7 @@
 #define        USB_HAVE_FIXED_PORT 0
 
 /* define zero ticks callout value */
-#if (__FreeBSD_version >= 1000029)
-#define        USB_CALLOUT_ZERO_TICKS 0
-#else
 #define        USB_CALLOUT_ZERO_TICKS 1
-#endif
 
 #define        USB_TD_GET_PROC(td) (td)->td_proc
 #define        USB_PROC_GET_GID(td) (td)->p_pgid
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to