Deleted Added
full compact
xhci_pci.c (273376) xhci_pci.c (275101)
1/*-
2 * Copyright (c) 2010 Hans Petter Selasky. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 10 unchanged lines hidden (view full) ---

19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 */
25
26#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2010 Hans Petter Selasky. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 10 unchanged lines hidden (view full) ---

19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 */
25
26#include <sys/cdefs.h>
27__FBSDID("$FreeBSD: head/sys/dev/usb/controller/xhci_pci.c 273376 2014-10-21 07:24:58Z kevlo $");
27__FBSDID("$FreeBSD: head/sys/dev/usb/controller/xhci_pci.c 275101 2014-11-26 04:23:21Z mav $");
28
29#include <sys/stdint.h>
30#include <sys/stddef.h>
31#include <sys/param.h>
32#include <sys/queue.h>
33#include <sys/types.h>
34#include <sys/systm.h>
35#include <sys/kernel.h>

--- 68 unchanged lines hidden (view full) ---

104
105 case 0x0f358086:
106 return ("Intel Intel BayTrail USB 3.0 controller");
107 case 0x9c318086:
108 case 0x1e318086:
109 return ("Intel Panther Point USB 3.0 controller");
110 case 0x8c318086:
111 return ("Intel Lynx Point USB 3.0 controller");
28
29#include <sys/stdint.h>
30#include <sys/stddef.h>
31#include <sys/param.h>
32#include <sys/queue.h>
33#include <sys/types.h>
34#include <sys/systm.h>
35#include <sys/kernel.h>

--- 68 unchanged lines hidden (view full) ---

104
105 case 0x0f358086:
106 return ("Intel Intel BayTrail USB 3.0 controller");
107 case 0x9c318086:
108 case 0x1e318086:
109 return ("Intel Panther Point USB 3.0 controller");
110 case 0x8c318086:
111 return ("Intel Lynx Point USB 3.0 controller");
112 case 0x8cb18086:
113 return ("Intel Wildcat Point USB 3.0 controller");
112
113 default:
114 break;
115 }
116
117 if ((pci_get_class(self) == PCIC_SERIALBUS)
118 && (pci_get_subclass(self) == PCIS_SERIALBUS_USB)
119 && (pci_get_progif(self) == PCIP_SERIALBUS_USB_XHCI)) {

--- 250 unchanged lines hidden ---
114
115 default:
116 break;
117 }
118
119 if ((pci_get_class(self) == PCIC_SERIALBUS)
120 && (pci_get_subclass(self) == PCIS_SERIALBUS_USB)
121 && (pci_get_progif(self) == PCIP_SERIALBUS_USB_XHCI)) {

--- 250 unchanged lines hidden ---