diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-05-17 18:37:22 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-05-18 04:51:20 +0200 |
commit | f5c67bc4f3f14de3a4261f21565cb4658a9ef3bd (patch) | |
tree | 1f18bf997eaa72769f73fb4eb812f88477527cd1 /target/linux/patches/3.4.112/usb-defaults-off.patch | |
parent | 6d77c8668e4e557924f8883fa5d6ab6e5af58f2e (diff) |
nds32: add back support for old toolchain and Linux, working on ag101p with latest uClibc-ng
fix
Diffstat (limited to 'target/linux/patches/3.4.112/usb-defaults-off.patch')
-rw-r--r-- | target/linux/patches/3.4.112/usb-defaults-off.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/patches/3.4.112/usb-defaults-off.patch b/target/linux/patches/3.4.112/usb-defaults-off.patch new file mode 100644 index 000000000..31367108a --- /dev/null +++ b/target/linux/patches/3.4.112/usb-defaults-off.patch @@ -0,0 +1,32 @@ +diff -Nur linux-2.6.37.orig//drivers/usb/core/Kconfig linux-2.6.37/drivers/usb/core/Kconfig +--- linux-2.6.37.orig//drivers/usb/core/Kconfig 2011-01-05 01:50:19.000000000 +0100 ++++ linux-2.6.37/drivers/usb/core/Kconfig 2011-04-12 19:04:23.000000000 +0200 +@@ -59,7 +59,7 @@ + config USB_DEVICE_CLASS + bool "USB device class-devices (DEPRECATED)" + depends on USB +- default y ++ default n + ---help--- + Userspace access to USB devices is granted by device-nodes exported + directly from the usbdev in sysfs. Old versions of the driver +diff -Nur linux-2.6.37.orig//drivers/usb/host/Kconfig linux-2.6.37/drivers/usb/host/Kconfig +--- linux-2.6.37.orig//drivers/usb/host/Kconfig 2011-01-05 01:50:19.000000000 +0100 ++++ linux-2.6.37/drivers/usb/host/Kconfig 2011-04-12 19:04:48.000000000 +0200 +@@ -62,6 +62,7 @@ + config USB_EHCI_ROOT_HUB_TT + bool "Root Hub Transaction Translators" + depends on USB_EHCI_HCD ++ default n + ---help--- + Some EHCI chips have vendor-specific extensions to integrate + transaction translators, so that no OHCI or UHCI companion +@@ -74,7 +75,7 @@ + config USB_EHCI_TT_NEWSCHED + bool "Improved Transaction Translator scheduling" + depends on USB_EHCI_HCD +- default y ++ default n + ---help--- + This changes the periodic scheduling code to fill more of the low + and full speed bandwidth available from the Transaction Translator |