aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-27 19:52:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-27 19:52:43 +0000
commit073c1758684543287df9c533014a72ec54eb0926 (patch)
tree9dcea16db29a7666b8dba95d0bb4461add985219 /target
parentbd59d24b34bd9b11700f95e384e7f1a04b1a520e (diff)
downloadupstream-073c1758684543287df9c533014a72ec54eb0926.tar.gz
upstream-073c1758684543287df9c533014a72ec54eb0926.tar.bz2
upstream-073c1758684543287df9c533014a72ec54eb0926.zip
kernel: when disabling common quirks, disable them in the usb subsystem as well - bios handover is useless for most platforms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25768 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/patches-2.6.37/031-pci_disable_usb_common_quirks.patch12
-rw-r--r--target/linux/generic/patches-2.6.38/031-pci_disable_usb_common_quirks.patch12
2 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.37/031-pci_disable_usb_common_quirks.patch b/target/linux/generic/patches-2.6.37/031-pci_disable_usb_common_quirks.patch
new file mode 100644
index 0000000000..49954bb567
--- /dev/null
+++ b/target/linux/generic/patches-2.6.37/031-pci_disable_usb_common_quirks.patch
@@ -0,0 +1,12 @@
+--- a/drivers/usb/host/Makefile
++++ b/drivers/usb/host/Makefile
+@@ -16,7 +16,9 @@ xhci-hcd-y += xhci-ring.o xhci-hub.o xhc
+
+ obj-$(CONFIG_USB_WHCI_HCD) += whci/
+
++ifndef CONFIG_PCI_DISABLE_COMMON_QUIRKS
+ obj-$(CONFIG_PCI) += pci-quirks.o
++endif
+
+ obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
+ obj-$(CONFIG_USB_OXU210HP_HCD) += oxu210hp-hcd.o
diff --git a/target/linux/generic/patches-2.6.38/031-pci_disable_usb_common_quirks.patch b/target/linux/generic/patches-2.6.38/031-pci_disable_usb_common_quirks.patch
new file mode 100644
index 0000000000..49954bb567
--- /dev/null
+++ b/target/linux/generic/patches-2.6.38/031-pci_disable_usb_common_quirks.patch
@@ -0,0 +1,12 @@
+--- a/drivers/usb/host/Makefile
++++ b/drivers/usb/host/Makefile
+@@ -16,7 +16,9 @@ xhci-hcd-y += xhci-ring.o xhci-hub.o xhc
+
+ obj-$(CONFIG_USB_WHCI_HCD) += whci/
+
++ifndef CONFIG_PCI_DISABLE_COMMON_QUIRKS
+ obj-$(CONFIG_PCI) += pci-quirks.o
++endif
+
+ obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
+ obj-$(CONFIG_USB_OXU210HP_HCD) += oxu210hp-hcd.o