]> git.baikalelectronics.ru Git - kernel.git/commit
USB: Don't fail USB3 probe on missing legacy PCI IRQ.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 14 Feb 2012 00:25:57 +0000 (16:25 -0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 14 Feb 2012 18:48:05 +0000 (10:48 -0800)
commitd56656d5a154cc157f7c9de20dd6bf1c6dca9ec3
treeb72ffb8b5cb63f433afb59e7af4da0b92b9a2c86
parent23edc84281b7c63e5ea0fe59c147d44075f2554c
USB: Don't fail USB3 probe on missing legacy PCI IRQ.

Intel has a PCI USB xhci host controller on a new platform. It doesn't
have a line IRQ definition in BIOS.  The Linux driver refuses to
initialize this controller, but Windows works well because it only depends
on MSI.

Actually, Linux also can work for MSI.  This patch avoids the line IRQ
checking for USB3 HCDs in usb core PCI probe.  It allows the xHCI driver
to try to enable MSI or MSI-X first.  It will fail the probe if MSI
enabling failed and there's no legacy PCI IRQ.

This patch should be backported to kernels as old as 2.6.32.

Signed-off-by: Alex Shi <alex.shi@intel.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@vger.kernel.org
drivers/usb/core/hcd-pci.c
drivers/usb/core/hcd.c
drivers/usb/host/xhci.c