| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: motg.c,v 1.12.2.27 2015/12/23 08:07:40 skrll Exp $ */ | | 1 | /* $NetBSD: motg.c,v 1.12.2.28 2016/02/06 08:53:03 skrll Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (c) 1998, 2004, 2011, 2012, 2014 The NetBSD Foundation, Inc. | | 4 | * Copyright (c) 1998, 2004, 2011, 2012, 2014 The NetBSD Foundation, Inc. |
5 | * All rights reserved. | | 5 | * All rights reserved. |
6 | * | | 6 | * |
7 | * This code is derived from software contributed to The NetBSD Foundation | | 7 | * This code is derived from software contributed to The NetBSD Foundation |
8 | * by Lennart Augustsson (lennart@augustsson.net) at | | 8 | * by Lennart Augustsson (lennart@augustsson.net) at |
9 | * Carlstedt Research & Technology, Jared D. McNeill (jmcneill@invisible.ca), | | 9 | * Carlstedt Research & Technology, Jared D. McNeill (jmcneill@invisible.ca), |
10 | * Matthew R. Green (mrg@eterna.com.au), and Manuel Bouyer (bouyer@netbsd.org). | | 10 | * Matthew R. Green (mrg@eterna.com.au), and Manuel Bouyer (bouyer@netbsd.org). |
11 | * | | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | | 12 | * Redistribution and use in source and binary forms, with or without |
13 | * modification, are permitted provided that the following conditions | | 13 | * modification, are permitted provided that the following conditions |
14 | * are met: | | 14 | * are met: |
| @@ -29,30 +29,33 @@ | | | @@ -29,30 +29,33 @@ |
29 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 29 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
30 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 30 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
31 | * POSSIBILITY OF SUCH DAMAGE. | | 31 | * POSSIBILITY OF SUCH DAMAGE. |
32 | */ | | 32 | */ |
33 | | | 33 | |
34 | | | 34 | |
35 | /* | | 35 | /* |
36 | * This file contains the driver for the Mentor Graphics Inventra USB | | 36 | * This file contains the driver for the Mentor Graphics Inventra USB |
37 | * 2.0 High Speed Dual-Role controller. | | 37 | * 2.0 High Speed Dual-Role controller. |
38 | * | | 38 | * |
39 | * NOTE: The current implementation only supports Device Side Mode! | | 39 | * NOTE: The current implementation only supports Device Side Mode! |
40 | */ | | 40 | */ |
41 | | | 41 | |
42 | #include "opt_motg.h" | | | |
43 | | | | |
44 | #include <sys/cdefs.h> | | 42 | #include <sys/cdefs.h> |
45 | __KERNEL_RCSID(0, "$NetBSD: motg.c,v 1.12.2.27 2015/12/23 08:07:40 skrll Exp $"); | | 43 | __KERNEL_RCSID(0, "$NetBSD: motg.c,v 1.12.2.28 2016/02/06 08:53:03 skrll Exp $"); |
| | | 44 | |
| | | 45 | #ifdef _KERNEL_OPT |
| | | 46 | #include "opt_motg.h" |
| | | 47 | #include "opt_usb.h" |
| | | 48 | #endif |
46 | | | 49 | |
47 | #include <sys/param.h> | | 50 | #include <sys/param.h> |
48 | | | 51 | |
49 | #include <sys/bus.h> | | 52 | #include <sys/bus.h> |
50 | #include <sys/cpu.h> | | 53 | #include <sys/cpu.h> |
51 | #include <sys/device.h> | | 54 | #include <sys/device.h> |
52 | #include <sys/kernel.h> | | 55 | #include <sys/kernel.h> |
53 | #include <sys/kmem.h> | | 56 | #include <sys/kmem.h> |
54 | #include <sys/proc.h> | | 57 | #include <sys/proc.h> |
55 | #include <sys/queue.h> | | 58 | #include <sys/queue.h> |
56 | #include <sys/select.h> | | 59 | #include <sys/select.h> |
57 | #include <sys/sysctl.h> | | 60 | #include <sys/sysctl.h> |
58 | #include <sys/systm.h> | | 61 | #include <sys/systm.h> |