path: root/sys/dev/usb/usb_ioctl.h
diff options
authorHans Petter Selasky <hselasky@FreeBSD.org>2013-01-30 15:26:04 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2013-01-30 15:26:04 +0000
commitd2b99310b17979e99c03251de3f9bc08dd9219d1 (patch)
treed05a4f410e0aaa7a44bf2b97f80697614ca4aee5 /sys/dev/usb/usb_ioctl.h
parente1334f935fbf45bf31da6c900569ecea668206c9 (diff)
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
Notes: svn path=/head/; revision=246122
Diffstat (limited to 'sys/dev/usb/usb_ioctl.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_ioctl.h b/sys/dev/usb/usb_ioctl.h
index 62edb992cb11..1d9b2230d059 100644
--- a/sys/dev/usb/usb_ioctl.h
+++ b/sys/dev/usb/usb_ioctl.h
@@ -29,12 +29,14 @@
#ifndef _USB_IOCTL_H_
#define _USB_IOCTL_H_
#include <sys/ioccom.h>
/* Building "kdump" depends on these includes */
#include <dev/usb/usb_endian.h>
#include <dev/usb/usb.h>
#define USB_DEVICE_NAME "usbctl"
#define USB_DEVICE_DIR "usb"