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