svn commit: r218288 - stable/8/sys/dev/usb
John Baldwin
jhb at FreeBSD.org
Fri Feb 4 17:26:44 UTC 2011
Author: jhb
Date: Fri Feb 4 17:26:44 2011
New Revision: 218288
URL: http://svn.freebsd.org/changeset/base/218288
Log:
MFC 217350:
Use software interrupt priorities for USB kthreads instead of hardware
interrupt priorities.
Modified:
stable/8/sys/dev/usb/usb_process.h
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
Modified: stable/8/sys/dev/usb/usb_process.h
==============================================================================
--- stable/8/sys/dev/usb/usb_process.h Fri Feb 4 17:11:53 2011 (r218287)
+++ stable/8/sys/dev/usb/usb_process.h Fri Feb 4 17:26:44 2011 (r218288)
@@ -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
More information about the svn-src-stable
mailing list