aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/danube/patches/110-drivers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/danube/patches/110-drivers.patch')
-rw-r--r--target/linux/danube/patches/110-drivers.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/target/linux/danube/patches/110-drivers.patch b/target/linux/danube/patches/110-drivers.patch
new file mode 100644
index 0000000000..031ece6caa
--- /dev/null
+++ b/target/linux/danube/patches/110-drivers.patch
@@ -0,0 +1,68 @@
+Index: linux-2.6.23/drivers/serial/Kconfig
+===================================================================
+--- linux-2.6.23.orig/drivers/serial/Kconfig 2007-11-04 17:29:22.000000000 +0100
++++ linux-2.6.23/drivers/serial/Kconfig 2007-11-04 17:29:25.000000000 +0100
+@@ -1259,4 +1259,10 @@
+ Currently, only 8250 compatible ports are supported, but
+ others can easily be added.
+
++config SERIAL_DANUBE
++ bool "Danube serial driver"
++ depends on DANUBE
++ help
++ Driver for the danubes built in ASC hardware
++
+ endmenu
+Index: linux-2.6.23/drivers/serial/Makefile
+===================================================================
+--- linux-2.6.23.orig/drivers/serial/Makefile 2007-11-04 17:29:22.000000000 +0100
++++ linux-2.6.23/drivers/serial/Makefile 2007-11-04 17:29:25.000000000 +0100
+@@ -64,3 +64,4 @@
+ obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
+ obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
+ obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
++obj-$(CONFIG_SERIAL_DANUBE) += danube_asc.o
+Index: linux-2.6.23/drivers/mtd/maps/Makefile
+===================================================================
+--- linux-2.6.23.orig/drivers/mtd/maps/Makefile 2007-11-04 17:29:22.000000000 +0100
++++ linux-2.6.23/drivers/mtd/maps/Makefile 2007-11-04 17:29:25.000000000 +0100
+@@ -71,3 +71,4 @@
+ obj-$(CONFIG_MTD_OMAP_NOR) += omap_nor.o
+ obj-$(CONFIG_MTD_MTX1) += mtx-1_flash.o
+ obj-$(CONFIG_MTD_TQM834x) += tqm834x.o
++obj-$(CONFIG_MTD_DANUBE) += danube.o
+Index: linux-2.6.23/drivers/net/Kconfig
+===================================================================
+--- linux-2.6.23.orig/drivers/net/Kconfig 2007-11-04 17:29:25.000000000 +0100
++++ linux-2.6.23/drivers/net/Kconfig 2007-11-11 16:48:24.000000000 +0100
+@@ -339,6 +339,18 @@
+
+ source "drivers/net/arm/Kconfig"
+
++config DANUBE_MII0
++ tristate "Infineon Danube eth0 driver"
++ depends on DANUBE
++ help
++ Support for the MII0 inside the Danube SOC
++
++config DANUBE_MII1
++ tristate "Infineon Danube eth1 driver"
++ depends on DANUBE
++ help
++ Support for the MII1 inside the Danube SOC
++
+ config AX88796
+ tristate "ASIX AX88796 NE2000 clone support"
+ depends on ARM || MIPS
+Index: linux-2.6.23/drivers/net/Makefile
+===================================================================
+--- linux-2.6.23.orig/drivers/net/Makefile 2007-11-04 17:29:25.000000000 +0100
++++ linux-2.6.23/drivers/net/Makefile 2007-11-11 16:47:14.000000000 +0100
+@@ -208,6 +208,7 @@
+ obj-$(CONFIG_FEC_8XX) += fec_8xx/
+ obj-$(CONFIG_PASEMI_MAC) += pasemi_mac.o
+ obj-$(CONFIG_MLX4_CORE) += mlx4/
++obj-$(CONFIG_DANUBE_MII0) += danube_mii0.o
+
+ obj-$(CONFIG_MACB) += macb.o
+