alistair23-linux/drivers/pci
Huang Rui be6646bfba PCI: Prevent xHCI driver from claiming AMD Nolan USB3 DRD device
The AMD Nolan (NL) SoC contains a DesignWare USB3 Dual-Role Device that can
be operated either as a USB Host or a USB Device.  In the AMD NL platform,
this device ([1022:7912]) has a class code of PCI_CLASS_SERIAL_USB_XHCI
(0x0c0330), which means the xhci driver will claim it.

But the dwc3 driver is a more specific driver for this device, and we'd
prefer to use it instead of xhci.  To prevent xhci from claiming the
device, change the class code to 0x0c03fe, which the PCI r3.0 spec defines
as "USB device (not host controller)".  The dwc3 driver can then claim it
based on its Vendor and Device ID.

Suggested-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jason Chang <jason.chang@amd.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-11-03 10:03:40 -06:00
..
host PCI: imx6: Wait for clocks to stabilize after ref_en 2014-10-29 10:11:54 -06:00
hotplug Revert duplicate "PCI: pciehp: Prevent NULL dereference during probe" 2014-10-27 11:42:43 -06:00
pcie PCI / PM: handle failure to enable wakeup on PCIe PME 2014-10-23 22:47:28 +02:00
access.c
ats.c
bus.c
host-bridge.c
hotplug-pci.c
htirq.c
ioapic.c
iov.c PCI: Use device flag helper functions 2014-09-16 16:19:58 -06:00
irq.c
Kconfig
Makefile
msi.c VFIO updates for v3.18-rc1 2014-10-11 06:49:24 -04:00
of.c
pci-acpi.c PCI: Shuffle pci-acpi.c functions to group them logically 2014-09-12 20:01:38 -06:00
pci-driver.c PCI: Remove unnecessary variable in pci_add_dynid() 2014-09-03 12:42:33 -06:00
pci-label.c
pci-stub.c
pci-sysfs.c PCI: Rename sysfs 'enabled' file back to 'enable' 2014-10-30 11:17:10 -06:00
pci.c Merge branch 'pci/host-generic' into next 2014-10-01 12:31:23 -06:00
pci.h
probe.c PCI changes for the v3.18 merge window: 2014-10-09 15:03:49 -04:00
proc.c
quirks.c PCI: Prevent xHCI driver from claiming AMD Nolan USB3 DRD device 2014-11-03 10:03:40 -06:00
remove.c
rom.c
search.c PCI: Remove unused pci_find_upstream_pcie_bridge() 2014-09-22 14:46:13 -06:00
setup-bus.c PCI: Add missing MEM_64 mask in pci_assign_unassigned_bridge_resources() 2014-09-30 13:56:46 -06:00
setup-irq.c
setup-res.c
slot.c
syscall.c
vc.c
vpd.c
xen-pcifront.c xen: remove DEFINE_XENBUS_DRIVER() macro 2014-10-06 10:27:57 +01:00