X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/8e004499ac8115e8fd60e9e0f9855c55e9961dc4..c323a00d29fb2463a7bb8a9f08d96516db866285:/target/linux/etrax/patches/301-usb_support.patch?ds=sidebyside diff --git a/target/linux/etrax/patches/301-usb_support.patch b/target/linux/etrax/patches/301-usb_support.patch index bfe5c70cf..51de789fa 100644 --- a/target/linux/etrax/patches/301-usb_support.patch +++ b/target/linux/etrax/patches/301-usb_support.patch @@ -1,7 +1,5 @@ -Index: linux-2.6.25.4/drivers/usb/Makefile -=================================================================== ---- linux-2.6.25.4.orig/drivers/usb/Makefile -+++ linux-2.6.25.4/drivers/usb/Makefile +--- a/drivers/usb/Makefile ++++ b/drivers/usb/Makefile @@ -16,6 +16,7 @@ obj-$(CONFIG_USB_UHCI_HCD) += host/ obj-$(CONFIG_USB_SL811_HCD) += host/ obj-$(CONFIG_USB_U132_HCD) += host/ @@ -10,20 +8,16 @@ Index: linux-2.6.25.4/drivers/usb/Makefile obj-$(CONFIG_USB_ACM) += class/ obj-$(CONFIG_USB_PRINTER) += class/ -Index: linux-2.6.25.4/drivers/usb/host/Makefile -=================================================================== ---- linux-2.6.25.4.orig/drivers/usb/host/Makefile -+++ linux-2.6.25.4/drivers/usb/host/Makefile +--- a/drivers/usb/host/Makefile ++++ b/drivers/usb/host/Makefile @@ -17,3 +17,5 @@ obj-$(CONFIG_USB_SL811_CS) += sl811_cs.o obj-$(CONFIG_USB_U132_HCD) += u132-hcd.o obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o +#obj-$(CONFIG_USB_CARNEOL) += hc-crisv10.o +obj-$(CONFIG_ETRAX_USB_HOST) += hc-crisv10.o -Index: linux-2.6.25.4/drivers/usb/host/hc-cris-dbg.h -=================================================================== --- /dev/null -+++ linux-2.6.25.4/drivers/usb/host/hc-cris-dbg.h ++++ b/drivers/usb/host/hc-cris-dbg.h @@ -0,0 +1,143 @@ + +/* macros for debug output */ @@ -168,10 +162,8 @@ Index: linux-2.6.25.4/drivers/usb/host/hc-cris-dbg.h + }; \ + s; \ + }) -Index: linux-2.6.25.4/drivers/usb/host/hc-crisv10.c -=================================================================== --- /dev/null -+++ linux-2.6.25.4/drivers/usb/host/hc-crisv10.c ++++ b/drivers/usb/host/hc-crisv10.c @@ -0,0 +1,4800 @@ +/* + * @@ -4973,10 +4965,8 @@ Index: linux-2.6.25.4/drivers/usb/host/hc-crisv10.c +/* Module hooks */ +module_init(module_hcd_init); +module_exit(module_hcd_exit); -Index: linux-2.6.25.4/drivers/usb/host/hc-crisv10.h -=================================================================== --- /dev/null -+++ linux-2.6.25.4/drivers/usb/host/hc-crisv10.h ++++ b/drivers/usb/host/hc-crisv10.h @@ -0,0 +1,331 @@ +#ifndef __LINUX_ETRAX_USB_H +#define __LINUX_ETRAX_USB_H