summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_freebsd.h
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2013-01-30 15:26:04 +0000
committerhselasky <hselasky@FreeBSD.org>2013-01-30 15:26:04 +0000
commit0fbe1630154e5d48b97c66259002053ea2c04768 (patch)
treed05a4f410e0aaa7a44bf2b97f80697614ca4aee5 /sys/dev/usb/usb_freebsd.h
parent3e5ced1b98dca63d150904313752d2ee1cf72802 (diff)
downloadFreeBSD-src-0fbe1630154e5d48b97c66259002053ea2c04768.zip
FreeBSD-src-0fbe1630154e5d48b97c66259002053ea2c04768.tar.gz
Modify the FreeBSD USB kernel code so that it can be compiled directly
into the FreeBSD boot loader, typically for non-USB aware BIOSes, EFI systems or embedded platforms. This is also useful for out of the system compilation of the FreeBSD USB stack for various purposes. The USB kernel files can now optionally include a global header file which should include all needed definitions required to compile the FreeBSD USB stack. When the global USB header file is included, no other USB header files will be included by default. Add new file containing the USB stack configuration for the FreeBSD loader build. Replace some __FBSDID()'s by /* $FreeBSD$ */ comments. Now all USB files follow the same style. Use cases: - console in loader via USB - loading kernel via USB Discussed with: Hiroki Sato, hrs @ EuroBSDCon
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 42a54c5..b599b74 100644
--- a/sys/dev/usb/usb_freebsd.h
+++ b/sys/dev/usb/usb_freebsd.h
@@ -42,6 +42,7 @@
#define USB_HAVE_POWERD 1
#define USB_HAVE_MSCTEST 1
#define USB_HAVE_PF 1
+#define USB_HAVE_ROOT_MOUNT_HOLD 1
#define USB_TD_GET_PROC(td) (td)->td_proc
#define USB_PROC_GET_GID(td) (td)->p_pgid
OpenPOWER on IntegriCloud