Date: Thu, 13 Jan 2011 14:15:36 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r217350 - head/sys/dev/usb Message-ID: <201101131415.p0DEFaC8052932@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Thu Jan 13 14:15:36 2011 New Revision: 217350 URL: http://svn.freebsd.org/changeset/base/217350 Log: Use software interrupt priorities for USB kthreads instead of hardware interrupt priorities. Reviewed by: hps MFC after: 2 weeks Modified: head/sys/dev/usb/usb_process.h Modified: head/sys/dev/usb/usb_process.h ============================================================================== --- head/sys/dev/usb/usb_process.h Thu Jan 13 13:04:49 2011 (r217349) +++ head/sys/dev/usb/usb_process.h Thu Jan 13 14:15:36 2011 (r217350) @@ -27,11 +27,13 @@ #ifndef _USB_PROCESS_H_ #define _USB_PROCESS_H_ +#include <sys/interrupt.h> #include <sys/priority.h> +#include <sys/runq.h> /* defines */ -#define USB_PRI_HIGH PI_NET -#define USB_PRI_MED PI_DISK +#define USB_PRI_HIGH PI_SWI(SWI_NET) +#define USB_PRI_MED PI_SWI(SWI_CAMBIO) #define USB_PROC_WAIT_TIMEOUT 2 #define USB_PROC_WAIT_DRAIN 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101131415.p0DEFaC8052932>