Use software interrupt priorities for USB kthreads instead of hardware

interrupt priorities.

Reviewed by:	hps
MFC after:	2 weeks
This commit is contained in:
jhb 2011-01-13 14:15:36 +00:00
parent 018ecd0b32
commit 47e6986a14

View File

@ -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