From: Felix Fietkau Date: Sun, 27 Feb 2011 19:52:43 +0000 (+0000) Subject: kernel: when disabling common quirks, disable them in the usb subsystem as well ... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=e6e1649c7abe5a139126c4c4a7ccf6c2aa1081af;hp=4d999931447f5f4e6a3fb0300cc496d3aeb843af kernel: when disabling common quirks, disable them in the usb subsystem as well - bios handover is useless for most platforms SVN-Revision: 25768 --- 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