xref: /freebsd/sys/dev/usb/controller/generic_xhci.h (revision 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
1052073c3SEmmanuel Vadot /* $FreeBSD$ */
2052073c3SEmmanuel Vadot 
3052073c3SEmmanuel Vadot /*-
4*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
5052073c3SEmmanuel Vadot  *
6052073c3SEmmanuel Vadot  * Copyright (c) 2015 Semihalf.
7052073c3SEmmanuel Vadot  * Copyright (c) 2015 Stormshield.
8052073c3SEmmanuel Vadot  * All rights reserved.
9052073c3SEmmanuel Vadot  *
10052073c3SEmmanuel Vadot  * Redistribution and use in source and binary forms, with or without
11052073c3SEmmanuel Vadot  * modification, are permitted provided that the following conditions
12052073c3SEmmanuel Vadot  * are met:
13052073c3SEmmanuel Vadot  * 1. Redistributions of source code must retain the above copyright
14052073c3SEmmanuel Vadot  *    notice, this list of conditions and the following disclaimer.
15052073c3SEmmanuel Vadot  * 2. Redistributions in binary form must reproduce the above copyright
16052073c3SEmmanuel Vadot  *    notice, this list of conditions and the following disclaimer in the
17052073c3SEmmanuel Vadot  *    documentation and/or other materials provided with the distribution.
18052073c3SEmmanuel Vadot  *
19052073c3SEmmanuel Vadot  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
20052073c3SEmmanuel Vadot  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21052073c3SEmmanuel Vadot  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22052073c3SEmmanuel Vadot  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
23052073c3SEmmanuel Vadot  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24052073c3SEmmanuel Vadot  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25052073c3SEmmanuel Vadot  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26052073c3SEmmanuel Vadot  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27052073c3SEmmanuel Vadot  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28052073c3SEmmanuel Vadot  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29052073c3SEmmanuel Vadot  * SUCH DAMAGE.
30052073c3SEmmanuel Vadot  *
31052073c3SEmmanuel Vadot  */
32052073c3SEmmanuel Vadot 
33052073c3SEmmanuel Vadot #ifndef _GENERIC_XHCI_H_
34052073c3SEmmanuel Vadot #define _GENERIC_XHCI_H_
35052073c3SEmmanuel Vadot 
36052073c3SEmmanuel Vadot #define	XHCI_HC_DEVSTR	"Generic USB 3.0 controller"
37052073c3SEmmanuel Vadot #define	XHCI_HC_VENDOR	"Generic"
38052073c3SEmmanuel Vadot 
39052073c3SEmmanuel Vadot extern driver_t generic_xhci_driver;
40052073c3SEmmanuel Vadot 
41052073c3SEmmanuel Vadot device_attach_t generic_xhci_attach;
42052073c3SEmmanuel Vadot device_detach_t generic_xhci_detach;
43052073c3SEmmanuel Vadot 
44052073c3SEmmanuel Vadot #endif /* !_GENERIC_XHCI_H_ */
45