projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a326c9
)
improved au1000 usb patch
author
John Crispin
<john@openwrt.org>
Sun, 29 Jul 2007 17:42:20 +0000
(17:42 +0000)
committer
John Crispin
<john@openwrt.org>
Sun, 29 Jul 2007 17:42:20 +0000
(17:42 +0000)
SVN-Revision: 8218
target/linux/au1000-2.6/patches/017-usb-power.patch
patch
|
blob
|
history
diff --git
a/target/linux/au1000-2.6/patches/017-usb-power.patch
b/target/linux/au1000-2.6/patches/017-usb-power.patch
index c9859c2585a67924a3144dcf7bddfd57edda6b9f..7f7fac85bf6afd72396979c36c57c1365a3f7917 100644
(file)
--- a/
target/linux/au1000-2.6/patches/017-usb-power.patch
+++ b/
target/linux/au1000-2.6/patches/017-usb-power.patch
@@
-5,7
+5,7
@@
void __init board_setup(void)
{
-#ifdef CONFIG_USB_OHCI
-+#if
def CONFIG_USB_OHCI_HCD || CONFIG_USB_OHCI_HCD_MODULE
++#if
defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
// enable USB power switch
au_writel( au_readl(GPIO2_DIR) | 0x10, GPIO2_DIR );
au_writel( 0x100000, GPIO2_OUTPUT );