diff options
Diffstat (limited to 'freebsd/sys/dev/usb/usb_process.h')
-rw-r--r-- | freebsd/sys/dev/usb/usb_process.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/freebsd/sys/dev/usb/usb_process.h b/freebsd/sys/dev/usb/usb_process.h index b4159af1..23cf6607 100644 --- a/freebsd/sys/dev/usb/usb_process.h +++ b/freebsd/sys/dev/usb/usb_process.h @@ -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 |