diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2011-03-02 11:43:13 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2011-03-02 11:43:13 +0000 |
commit | 0e4c9de00e55e205165e38b3605f3916366d58a6 (patch) | |
tree | 841afaceaae8c3e5bf268b41b617c3dabf478413 /target/linux/gemini/patches/006-wbd111_usb.patch | |
parent | 7b44be03d86bb3b7ce2e81cfc750d783dff2c892 (diff) | |
download | upstream-0e4c9de00e55e205165e38b3605f3916366d58a6.tar.gz upstream-0e4c9de00e55e205165e38b3605f3916366d58a6.tar.bz2 upstream-0e4c9de00e55e205165e38b3605f3916366d58a6.zip |
add usb support for the wbd111, refresh patches
SVN-Revision: 25820
Diffstat (limited to 'target/linux/gemini/patches/006-wbd111_usb.patch')
-rw-r--r-- | target/linux/gemini/patches/006-wbd111_usb.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/gemini/patches/006-wbd111_usb.patch b/target/linux/gemini/patches/006-wbd111_usb.patch new file mode 100644 index 0000000000..f5f547ebf4 --- /dev/null +++ b/target/linux/gemini/patches/006-wbd111_usb.patch @@ -0,0 +1,21 @@ +--- a/arch/arm/mach-gemini/board-wbd111.c ++++ b/arch/arm/mach-gemini/board-wbd111.c +@@ -147,6 +147,7 @@ static void __init wbd111_init(void) + gemini_gpio_init(); + platform_register_uart(); + platform_register_watchdog(); ++ platform_register_usb(0); + platform_register_pflash(SZ_8M, wbd111_partitions, + wbd111_num_partitions); + platform_device_register(&wbd111_leds_device); +--- a/drivers/usb/host/ehci-hcd.c ++++ b/drivers/usb/host/ehci-hcd.c +@@ -103,7 +103,7 @@ module_param (park, uint, S_IRUGO); + MODULE_PARM_DESC (park, "park setting; 1-3 back-to-back async packets"); + + /* for flakey hardware, ignore overcurrent indicators */ +-static int ignore_oc = 0; ++static int ignore_oc = 1; + module_param (ignore_oc, bool, S_IRUGO); + MODULE_PARM_DESC (ignore_oc, "ignore bogus hardware overcurrent indications"); + |