projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add i2c driver (to etrax) improved by Geert Vancompernolle
[openwrt.git]
/
target
/
linux
/
ar71xx
/
patches-2.6.26
/
003-ar71xx_usb_host.patch
diff --git
a/target/linux/ar71xx/patches-2.6.26/003-ar71xx_usb_host.patch
b/target/linux/ar71xx/patches-2.6.26/003-ar71xx_usb_host.patch
index
99b283f
..
c5dd3d2
100644
(file)
--- a/
target/linux/ar71xx/patches-2.6.26/003-ar71xx_usb_host.patch
+++ b/
target/linux/ar71xx/patches-2.6.26/003-ar71xx_usb_host.patch
@@
-1,6
+1,6
@@
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
-@@ -81,6 +81,12 @@
+@@ -81,6 +81,12 @@
config USB_EHCI_BIG_ENDIAN_DESC
depends on USB_EHCI_HCD && (440EPX || ARCH_IXP4XX)
default y
depends on USB_EHCI_HCD && (440EPX || ARCH_IXP4XX)
default y
@@
-13,7
+13,7
@@
config USB_EHCI_FSL
bool "Support for Freescale on-chip EHCI USB controller"
depends on USB_EHCI_HCD && FSL_SOC
config USB_EHCI_FSL
bool "Support for Freescale on-chip EHCI USB controller"
depends on USB_EHCI_HCD && FSL_SOC
-@@ -152,6 +158,12 @@
+@@ -152,6 +158,12 @@
config USB_OHCI_HCD
To compile this driver as a module, choose M here: the
module will be called ohci-hcd.
To compile this driver as a module, choose M here: the
module will be called ohci-hcd.
@@
-28,13
+28,13
@@
depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx)
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx)
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
-@@ -1034,6 +1034,11 @@
+@@ -1034,6 +1034,11 @@
MODULE_LICENSE ("GPL");
#define PLATFORM_DRIVER ixp4xx_ehci_driver
#endif
+#ifdef CONFIG_USB_EHCI_AR71XX
+#include "ehci-ar71xx.c"
#define PLATFORM_DRIVER ixp4xx_ehci_driver
#endif
+#ifdef CONFIG_USB_EHCI_AR71XX
+#include "ehci-ar71xx.c"
-+#define PLATFORM_DRIVER ehci_
hcd_
ar71xx_driver
++#define PLATFORM_DRIVER ehci_ar71xx_driver
+#endif
+
#if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \
+#endif
+
#if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \
@@
-42,7
+42,7
@@
#error "missing bus glue for ehci-hcd"
--- a/drivers/usb/host/ohci.h
+++ b/drivers/usb/host/ohci.h
#error "missing bus glue for ehci-hcd"
--- a/drivers/usb/host/ohci.h
+++ b/drivers/usb/host/ohci.h
-@@ -538,6 +538,11 @@
+@@ -538,6 +538,11 @@
static inline struct usb_hcd *ohci_to_hc
#define writel_be(val, addr) out_be32((__force unsigned *)addr, val)
#endif
#define writel_be(val, addr) out_be32((__force unsigned *)addr, val)
#endif
@@
-56,7
+56,7
@@
{
--- a/drivers/usb/host/ohci-hcd.c
+++ b/drivers/usb/host/ohci-hcd.c
{
--- a/drivers/usb/host/ohci-hcd.c
+++ b/drivers/usb/host/ohci-hcd.c
-@@ -1057,6 +1057,11 @@
+@@ -1057,6 +1057,11 @@
MODULE_LICENSE ("GPL");
#define SM501_OHCI_DRIVER ohci_hcd_sm501_driver
#endif
#define SM501_OHCI_DRIVER ohci_hcd_sm501_driver
#endif
This page took
0.025483 seconds
and
4
git commands to generate.