xref: /freebsd/sys/dev/usb/controller/generic_xhci.h (revision 052073c38209a57b06576c14eb19c008807a3744)
1*052073c3SEmmanuel Vadot /* $FreeBSD$ */
2*052073c3SEmmanuel Vadot 
3*052073c3SEmmanuel Vadot /*-
4*052073c3SEmmanuel Vadot  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
5*052073c3SEmmanuel Vadot  *
6*052073c3SEmmanuel Vadot  * Copyright (c) 2015 Semihalf.
7*052073c3SEmmanuel Vadot  * Copyright (c) 2015 Stormshield.
8*052073c3SEmmanuel Vadot  * All rights reserved.
9*052073c3SEmmanuel Vadot  *
10*052073c3SEmmanuel Vadot  * Redistribution and use in source and binary forms, with or without
11*052073c3SEmmanuel Vadot  * modification, are permitted provided that the following conditions
12*052073c3SEmmanuel Vadot  * are met:
13*052073c3SEmmanuel Vadot  * 1. Redistributions of source code must retain the above copyright
14*052073c3SEmmanuel Vadot  *    notice, this list of conditions and the following disclaimer.
15*052073c3SEmmanuel Vadot  * 2. Redistributions in binary form must reproduce the above copyright
16*052073c3SEmmanuel Vadot  *    notice, this list of conditions and the following disclaimer in the
17*052073c3SEmmanuel Vadot  *    documentation and/or other materials provided with the distribution.
18*052073c3SEmmanuel Vadot  *
19*052073c3SEmmanuel Vadot  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
20*052073c3SEmmanuel Vadot  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21*052073c3SEmmanuel Vadot  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22*052073c3SEmmanuel Vadot  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
23*052073c3SEmmanuel Vadot  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24*052073c3SEmmanuel Vadot  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25*052073c3SEmmanuel Vadot  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26*052073c3SEmmanuel Vadot  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27*052073c3SEmmanuel Vadot  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28*052073c3SEmmanuel Vadot  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29*052073c3SEmmanuel Vadot  * SUCH DAMAGE.
30*052073c3SEmmanuel Vadot  *
31*052073c3SEmmanuel Vadot  */
32*052073c3SEmmanuel Vadot 
33*052073c3SEmmanuel Vadot #ifndef _GENERIC_XHCI_H_
34*052073c3SEmmanuel Vadot #define _GENERIC_XHCI_H_
35*052073c3SEmmanuel Vadot 
36*052073c3SEmmanuel Vadot #define	XHCI_HC_DEVSTR	"Generic USB 3.0 controller"
37*052073c3SEmmanuel Vadot #define	XHCI_HC_VENDOR	"Generic"
38*052073c3SEmmanuel Vadot 
39*052073c3SEmmanuel Vadot extern driver_t generic_xhci_driver;
40*052073c3SEmmanuel Vadot 
41*052073c3SEmmanuel Vadot device_attach_t generic_xhci_attach;
42*052073c3SEmmanuel Vadot device_detach_t generic_xhci_detach;
43*052073c3SEmmanuel Vadot 
44*052073c3SEmmanuel Vadot #endif /* !_GENERIC_XHCI_H_ */
45