71193926555c8bcfaf51ba2473e92552b4d82751
[openwrt/svn-archive/archive.git] / target / linux / ifxmips / patches / 110-drivers.patch
1 Index: linux-2.6.23/drivers/serial/Kconfig
2 ===================================================================
3 --- linux-2.6.23.orig/drivers/serial/Kconfig 2007-12-13 20:41:42.000000000 +0100
4 +++ linux-2.6.23/drivers/serial/Kconfig 2007-12-13 20:41:57.000000000 +0100
5 @@ -1259,4 +1259,10 @@
6 Currently, only 8250 compatible ports are supported, but
7 others can easily be added.
8
9 +config SERIAL_IFXMIPS
10 + bool "Danube serial driver"
11 + depends on IFXMIPS
12 + help
13 + Driver for the danubes built in ASC hardware
14 +
15 endmenu
16 Index: linux-2.6.23/drivers/serial/Makefile
17 ===================================================================
18 --- linux-2.6.23.orig/drivers/serial/Makefile 2007-12-13 20:41:42.000000000 +0100
19 +++ linux-2.6.23/drivers/serial/Makefile 2007-12-13 20:41:57.000000000 +0100
20 @@ -64,3 +64,4 @@
21 obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
22 obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
23 obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
24 +obj-$(CONFIG_SERIAL_IFXMIPS) += danube_asc.o
25 Index: linux-2.6.23/drivers/mtd/maps/Makefile
26 ===================================================================
27 --- linux-2.6.23.orig/drivers/mtd/maps/Makefile 2007-12-13 20:41:42.000000000 +0100
28 +++ linux-2.6.23/drivers/mtd/maps/Makefile 2007-12-13 20:41:57.000000000 +0100
29 @@ -71,3 +71,4 @@
30 obj-$(CONFIG_MTD_OMAP_NOR) += omap_nor.o
31 obj-$(CONFIG_MTD_MTX1) += mtx-1_flash.o
32 obj-$(CONFIG_MTD_TQM834x) += tqm834x.o
33 +obj-$(CONFIG_MTD_IFXMIPS) += danube.o
34 Index: linux-2.6.23/drivers/net/Kconfig
35 ===================================================================
36 --- linux-2.6.23.orig/drivers/net/Kconfig 2007-12-13 20:41:42.000000000 +0100
37 +++ linux-2.6.23/drivers/net/Kconfig 2007-12-13 20:41:57.000000000 +0100
38 @@ -339,6 +339,18 @@
39
40 source "drivers/net/arm/Kconfig"
41
42 +config IFXMIPS_MII0
43 + tristate "Infineon Danube eth0 driver"
44 + depends on IFXMIPS
45 + help
46 + Support for the MII0 inside the Danube SOC
47 +
48 +config IFXMIPS_MII1
49 + tristate "Infineon Danube eth1 driver"
50 + depends on IFXMIPS
51 + help
52 + Support for the MII1 inside the Danube SOC
53 +
54 config AX88796
55 tristate "ASIX AX88796 NE2000 clone support"
56 depends on ARM || MIPS
57 Index: linux-2.6.23/drivers/net/Makefile
58 ===================================================================
59 --- linux-2.6.23.orig/drivers/net/Makefile 2007-12-13 20:41:42.000000000 +0100
60 +++ linux-2.6.23/drivers/net/Makefile 2007-12-13 20:41:57.000000000 +0100
61 @@ -208,6 +208,7 @@
62 obj-$(CONFIG_FEC_8XX) += fec_8xx/
63 obj-$(CONFIG_PASEMI_MAC) += pasemi_mac.o
64 obj-$(CONFIG_MLX4_CORE) += mlx4/
65 +obj-$(CONFIG_IFXMIPS_MII0) += danube_mii0.o
66
67 obj-$(CONFIG_MACB) += macb.o
68
69 Index: linux-2.6.23/drivers/char/watchdog/Makefile
70 ===================================================================
71 --- linux-2.6.23.orig/drivers/char/watchdog/Makefile 2007-12-13 20:41:42.000000000 +0100
72 +++ linux-2.6.23/drivers/char/watchdog/Makefile 2007-12-13 20:41:57.000000000 +0100
73 @@ -90,6 +90,7 @@
74 obj-$(CONFIG_INDYDOG) += indydog.o
75 obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
76 obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o
77 +obj-$(CONFIG_IFXMIPS_WDT) += danube_wdt.o
78
79 # PARISC Architecture
80
81 Index: linux-2.6.23/drivers/char/Makefile
82 ===================================================================
83 --- linux-2.6.23.orig/drivers/char/Makefile 2007-12-13 20:41:42.000000000 +0100
84 +++ linux-2.6.23/drivers/char/Makefile 2007-12-14 22:41:07.000000000 +0100
85 @@ -135,3 +135,8 @@
86 rm $@.tmp
87
88 endif
89 +
90 +obj-$(CONFIG_IFXMIPS_LED) += danube_led.o
91 +obj-$(CONFIG_IFXMIPS_GPIO) += danube_gpio.o
92 +obj-$(CONFIG_IFXMIPS_SSC) += danube_ssc.o
93 +obj-$(CONFIG_IFXMIPS_EEPROM) += danube_eeprom.o