aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_freebsd.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2013-02-05 14:44:25 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2013-02-05 14:44:25 +0000
commit9b3a48ee6fcb288c6c133c9a3b8067d93c2d8dad (patch)
tree6f7e7bb33464657571c7932da58bed2b52ea622a /sys/dev/usb/usb_freebsd.h
parent9c37bca751f9a39e3468ad1dd837808ca02f7a94 (diff)
downloadsrc-9b3a48ee6fcb288c6c133c9a3b8067d93c2d8dad.tar.gz
src-9b3a48ee6fcb288c6c133c9a3b8067d93c2d8dad.zip
Add defines to more easily allow a single threaded version of the FreeBSD
USB stack. This is useful for non-kernel purposes, like the loader.
Notes
Notes: svn path=/head/; revision=246363
Diffstat (limited to 'sys/dev/usb/usb_freebsd.h')
-rw-r--r--sys/dev/usb/usb_freebsd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_freebsd.h b/sys/dev/usb/usb_freebsd.h
index e93bee7692b3..026baabaee2c 100644
--- a/sys/dev/usb/usb_freebsd.h
+++ b/sys/dev/usb/usb_freebsd.h
@@ -44,6 +44,7 @@
#define USB_HAVE_PF 1
#define USB_HAVE_ROOT_MOUNT_HOLD 1
#define USB_HAVE_ID_SECTION 1
+#define USB_HAVE_PER_BUS_PROCESS 1
#define USB_TD_GET_PROC(td) (td)->td_proc
#define USB_PROC_GET_GID(td) (td)->p_pgid