Deleted Added
full compact
xhci_pci.c (268884) xhci_pci.c (275439)
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: stable/10/sys/dev/usb/controller/xhci_pci.c 268884 2014-07-19 19:56:23Z hselasky $");
27__FBSDID("$FreeBSD: stable/10/sys/dev/usb/controller/xhci_pci.c 275439 2014-12-03 06:53:49Z 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>

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

102 case 0x10421b21:
103 return ("ASMedia ASM1042 USB 3.0 controller");
104
105 case 0x9c318086:
106 case 0x1e318086:
107 return ("Intel Panther Point USB 3.0 controller");
108 case 0x8c318086:
109 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>

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

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

--- 249 unchanged lines hidden ---
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)) {

--- 249 unchanged lines hidden ---