> > > A question, the dwc3 controller is the PCI-E device in my platform, > > > but the class code of PCI header is 0x0c0330, the same with xHC. > > > That's because it need to meet the windows enviroment. The dwc3 > > > controller acted as only host mode to bind with windows xhci driver. > > > But on linux, sometimes, we auto-bind with xhci driver as well (class > > > code 0x0c0330) despite we use Pid/Vid on dwc3 driver. Then I need > > > rmmod xhci_hcd module and modprobe dwc3_pci module manually. > > > > > > Any idea to resolve this issue? Declare a fixup quirk. I'm not a pci expert, but I think something like this should work.. static void dwc3_fix_amd_nl_class(struct pci_dev *pdev) { pdev->class = 0x0c03fe; } DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_NL, dwc3_fix_amd_nl_class); > > Heikki, can you confirm if your DWC3 incarnations present this same > > "feature" ? :-) The DWC3 is not given xHCI class code on our boards. Cheers, -- heikki -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html