Date: Wed, 22 Jan 2014 17:50:44 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r261033 - head/sys/dev/usb Message-ID: <201401221750.s0MHoi9V088366@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401221750.s0MHoi9V088366>