xref: /freebsd/stand/kshim/bsd_global.h (revision 2e3f49888ec8851bafb22011533217487764fdb0)
1 /*-
2  * Copyright (c) 2013 Hans Petter Selasky. All rights reserved.
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  * 1. Redistributions of source code must retain the above copyright
8  *    notice, this list of conditions and the following disclaimer.
9  * 2. Redistributions in binary form must reproduce the above copyright
10  *    notice, this list of conditions and the following disclaimer in the
11  *    documentation and/or other materials provided with the distribution.
12  *
13  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23  * SUCH DAMAGE.
24  */
25 
26 #ifndef _BSD_GLOBAL_H_
27 #define	_BSD_GLOBAL_H_
28 
29 #include <bsd_kernel.h>
30 
31 #include <sys/gpio.h>
32 
33 #define	USB_DEBUG_VAR usb_debug
34 #include <dev/usb/usb_freebsd_loader.h>
35 #include <dev/usb/usb_endian.h>
36 #include <dev/usb/usb.h>
37 #include <dev/usb/usbdi.h>
38 #include <dev/usb/usb_core.h>
39 #include <dev/usb/usb_debug.h>
40 #include <dev/usb/usb_process.h>
41 #include <dev/usb/usb_busdma.h>
42 #include <dev/usb/usb_dynamic.h>
43 #include <dev/usb/usb_transfer.h>
44 #include <dev/usb/usb_device.h>
45 #include <dev/usb/usb_hub.h>
46 #include <dev/usb/usb_controller.h>
47 #include <dev/usb/usb_bus.h>
48 #include <dev/usb/usbdi_util.h>
49 #include <dev/usb/usb_cdc.h>
50 #include <dev/usb/usb_dev.h>
51 #include <dev/usb/usb_mbuf.h>
52 #include <dev/usb/usb_msctest.h>
53 #include <dev/usb/usb_pci.h>
54 #include <dev/usb/usb_pf.h>
55 #include <dev/usb/usb_request.h>
56 #include <dev/usb/usb_util.h>
57 #include <dev/usb/usbhid.h>
58 #include <dev/usb/usb_ioctl.h>
59 #include <dev/usb/usb_generic.h>
60 #include <dev/usb/quirk/usb_quirk.h>
61 #include <dev/usb/template/usb_template.h>
62 #include <dev/usb/controller/ehci.h>
63 #include <dev/usb/controller/ehcireg.h>
64 
65 extern struct usb_process usb_process[USB_PROC_MAX];
66 
67 #endif					/* _BSD_GLOBAL_H_ */
68