xref: /freebsd/sys/dev/usb/controller/generic_ehci.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1*7a58744fSEmmanuel Vadot /*-
2*7a58744fSEmmanuel Vadot  * Copyright (c) 2012 Ganbold Tsagaankhuu <ganbold@freebsd.org>
3*7a58744fSEmmanuel Vadot  * Copyright (c) 2016 The FreeBSD Foundation
4*7a58744fSEmmanuel Vadot  * Copyright (c) 2019 Andrew Turner <andrew@FreeBSD.org>
5*7a58744fSEmmanuel Vadot  * All rights reserved.
6*7a58744fSEmmanuel Vadot  *
7*7a58744fSEmmanuel Vadot  * This software was developed by Andrew Turner under
8*7a58744fSEmmanuel Vadot  * sponsorship from the FreeBSD Foundation.
9*7a58744fSEmmanuel Vadot  *
10*7a58744fSEmmanuel Vadot  * Redistribution and use in source and binary forms, with or without
11*7a58744fSEmmanuel Vadot  * modification, are permitted provided that the following conditions
12*7a58744fSEmmanuel Vadot  * are met:
13*7a58744fSEmmanuel Vadot  * 1. Redistributions of source code must retain the above copyright
14*7a58744fSEmmanuel Vadot  *    notice, this list of conditions and the following disclaimer.
15*7a58744fSEmmanuel Vadot  * 2. Redistributions in binary form must reproduce the above copyright
16*7a58744fSEmmanuel Vadot  *    notice, this list of conditions and the following disclaimer in the
17*7a58744fSEmmanuel Vadot  *    documentation and/or other materials provided with the distribution.
18*7a58744fSEmmanuel Vadot  *
19*7a58744fSEmmanuel Vadot  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
20*7a58744fSEmmanuel Vadot  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21*7a58744fSEmmanuel Vadot  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22*7a58744fSEmmanuel Vadot  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
23*7a58744fSEmmanuel Vadot  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24*7a58744fSEmmanuel Vadot  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25*7a58744fSEmmanuel Vadot  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26*7a58744fSEmmanuel Vadot  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27*7a58744fSEmmanuel Vadot  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28*7a58744fSEmmanuel Vadot  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29*7a58744fSEmmanuel Vadot  * SUCH DAMAGE.
30*7a58744fSEmmanuel Vadot  */
31*7a58744fSEmmanuel Vadot 
32*7a58744fSEmmanuel Vadot #ifndef _GENERIC_EHCI_H_
33*7a58744fSEmmanuel Vadot #define	_GENERIC_EHCI_H_
34*7a58744fSEmmanuel Vadot 
35*7a58744fSEmmanuel Vadot extern driver_t generic_ehci_driver;
36*7a58744fSEmmanuel Vadot 
37*7a58744fSEmmanuel Vadot device_attach_t generic_ehci_attach;
38*7a58744fSEmmanuel Vadot device_detach_t generic_ehci_detach;
39*7a58744fSEmmanuel Vadot 
40*7a58744fSEmmanuel Vadot #endif /* !_GENERIC_EHCI_H_ */
41