diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-02 11:43:13 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-02 11:43:13 +0000 |
commit | 214a66e62c76d321e0afe3c20bb331794db187e4 (patch) | |
tree | 3f3e6a1fc74f9cd277ae03805abdc769acab3b88 | |
parent | 081428637831c92233fb3e19d2cfb91cd74d2516 (diff) |
[gemini]: add usb support for the wbd111, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25820 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/gemini/patches/003-missing_from_upstream.patch | 4 | ||||
-rw-r--r-- | target/linux/gemini/patches/006-wbd111_usb.patch | 21 |
2 files changed, 23 insertions, 2 deletions
diff --git a/target/linux/gemini/patches/003-missing_from_upstream.patch b/target/linux/gemini/patches/003-missing_from_upstream.patch index 6eef4f85c..948f58734 100644 --- a/target/linux/gemini/patches/003-missing_from_upstream.patch +++ b/target/linux/gemini/patches/003-missing_from_upstream.patch @@ -30,7 +30,7 @@ static struct gpio_keys_button wbd111_keys[] = { { .code = KEY_SETUP, -@@ -131,6 +151,8 @@ +@@ -131,6 +151,8 @@ static void __init wbd111_init(void) wbd111_num_partitions); platform_device_register(&wbd111_leds_device); platform_device_register(&wbd111_keys_device); @@ -73,7 +73,7 @@ static struct gpio_keys_button wbd222_keys[] = { { .code = KEY_SETUP, -@@ -131,6 +153,10 @@ +@@ -131,6 +153,10 @@ static void __init wbd222_init(void) wbd222_num_partitions); platform_device_register(&wbd222_leds_device); platform_device_register(&wbd222_keys_device); 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 000000000..f5f547ebf --- /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"); + |