[libtapi]
[openwrt/svn-archive/archive.git] / target / linux / ifxmips / patches / 110-drivers.patch
1 Index: linux-2.6.35.8/drivers/serial/Kconfig
2 ===================================================================
3 --- linux-2.6.35.8.orig/drivers/serial/Kconfig 2010-10-29 06:52:43.000000000 +0200
4 +++ linux-2.6.35.8/drivers/serial/Kconfig 2010-11-01 11:34:31.000000000 +0100
5 @@ -1397,6 +1397,14 @@
6 help
7 Support for Console on the NWP serial ports.
8
9 +config SERIAL_IFXMIPS
10 + bool "IFXMips serial driver"
11 + depends on IFXMIPS
12 + select SERIAL_CORE
13 + select SERIAL_CORE_CONSOLE
14 + help
15 + Driver for the ifxmipss built in ASC hardware
16 +
17 config SERIAL_QE
18 tristate "Freescale QUICC Engine serial port support"
19 depends on QUICC_ENGINE
20 Index: linux-2.6.35.8/drivers/serial/Makefile
21 ===================================================================
22 --- linux-2.6.35.8.orig/drivers/serial/Makefile 2010-10-29 06:52:43.000000000 +0200
23 +++ linux-2.6.35.8/drivers/serial/Makefile 2010-11-01 11:34:55.000000000 +0100
24 @@ -84,3 +84,4 @@
25 obj-$(CONFIG_SERIAL_GRLIB_GAISLER_APBUART) += apbuart.o
26 obj-$(CONFIG_SERIAL_ALTERA_JTAGUART) += altera_jtaguart.o
27 obj-$(CONFIG_SERIAL_ALTERA_UART) += altera_uart.o
28 +obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips.o
29 Index: linux-2.6.35.8/drivers/net/Kconfig
30 ===================================================================
31 --- linux-2.6.35.8.orig/drivers/net/Kconfig 2010-10-29 06:52:43.000000000 +0200
32 +++ linux-2.6.35.8/drivers/net/Kconfig 2010-11-01 11:34:31.000000000 +0100
33 @@ -232,6 +232,12 @@
34
35 source "drivers/net/arm/Kconfig"
36
37 +config IFXMIPS_MII0
38 + tristate "Infineon IFXMips eth0 driver"
39 + depends on IFXMIPS
40 + help
41 + Support for the MII0 inside the IFXMips SOC
42 +
43 config AX88796
44 tristate "ASIX AX88796 NE2000 clone support"
45 depends on ARM || MIPS || SUPERH
46 Index: linux-2.6.35.8/drivers/net/Makefile
47 ===================================================================
48 --- linux-2.6.35.8.orig/drivers/net/Makefile 2010-10-29 06:52:43.000000000 +0200
49 +++ linux-2.6.35.8/drivers/net/Makefile 2010-11-01 11:35:13.000000000 +0100
50 @@ -252,6 +252,7 @@
51 obj-$(CONFIG_ENC28J60) += enc28j60.o
52 obj-$(CONFIG_ETHOC) += ethoc.o
53 obj-$(CONFIG_GRETH) += greth.o
54 +obj-$(CONFIG_IFXMIPS_MII0) += ifxmips.o
55
56 obj-$(CONFIG_XTENSA_XT2000_SONIC) += xtsonic.o
57
58 Index: linux-2.6.35.8/drivers/mtd/maps/Kconfig
59 ===================================================================
60 --- linux-2.6.35.8.orig/drivers/mtd/maps/Kconfig 2010-10-29 06:52:43.000000000 +0200
61 +++ linux-2.6.35.8/drivers/mtd/maps/Kconfig 2010-11-01 11:34:31.000000000 +0100
62 @@ -251,6 +251,12 @@
63 help
64 Support for flash chips on NETtel/SecureEdge/SnapGear boards.
65
66 +config MTD_IFXMIPS
67 + tristate "IFXMIPS MTD support"
68 + depends on IFXMIPS
69 + help
70 + Flash memory access on AMD Alchemy Pb/Db/RDK Reference Boards
71 +
72 config MTD_DILNETPC
73 tristate "CFI Flash device mapped on DIL/Net PC"
74 depends on X86 && MTD_CONCAT && MTD_PARTITIONS && MTD_CFI_INTELEXT && BROKEN
75 Index: linux-2.6.35.8/drivers/mtd/maps/Makefile
76 ===================================================================
77 --- linux-2.6.35.8.orig/drivers/mtd/maps/Makefile 2010-10-29 06:52:43.000000000 +0200
78 +++ linux-2.6.35.8/drivers/mtd/maps/Makefile 2010-11-01 11:34:31.000000000 +0100
79 @@ -59,3 +59,4 @@
80 obj-$(CONFIG_MTD_RBTX4939) += rbtx4939-flash.o
81 obj-$(CONFIG_MTD_VMU) += vmu-flash.o
82 obj-$(CONFIG_MTD_GPIO_ADDR) += gpio-addr-flash.o
83 +obj-$(CONFIG_MTD_IFXMIPS) += ifxmips.o
84 Index: linux-2.6.35.8/drivers/watchdog/Kconfig
85 ===================================================================
86 --- linux-2.6.35.8.orig/drivers/watchdog/Kconfig 2010-10-29 06:52:43.000000000 +0200
87 +++ linux-2.6.35.8/drivers/watchdog/Kconfig 2010-11-01 11:34:31.000000000 +0100
88 @@ -875,6 +875,12 @@
89 help
90 Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
91
92 +config IFXMIPS_WDT
93 + bool "IFXMips watchdog"
94 + depends on IFXMIPS
95 + help
96 + Hardware driver for the IFXMIPS Watchdog Timer.
97 +
98 # PARISC Architecture
99
100 # POWERPC Architecture
101 Index: linux-2.6.35.8/drivers/watchdog/Makefile
102 ===================================================================
103 --- linux-2.6.35.8.orig/drivers/watchdog/Makefile 2010-10-29 06:52:43.000000000 +0200
104 +++ linux-2.6.35.8/drivers/watchdog/Makefile 2010-11-01 11:34:31.000000000 +0100
105 @@ -114,6 +114,7 @@
106 obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
107 obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
108 obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
109 +obj-$(CONFIG_IFXMIPS_WDT) += ifxmips.o
110
111 # PARISC Architecture
112
113 Index: linux-2.6.35.8/drivers/leds/Kconfig
114 ===================================================================
115 --- linux-2.6.35.8.orig/drivers/leds/Kconfig 2010-11-01 11:19:33.000000000 +0100
116 +++ linux-2.6.35.8/drivers/leds/Kconfig 2010-11-01 11:34:31.000000000 +0100
117 @@ -311,6 +311,12 @@
118
119 if LEDS_TRIGGERS
120
121 +config LEDS_IFXMIPS
122 + tristate "LED Support for IFXMIPS LEDs"
123 + depends on LEDS_CLASS && IFXMIPS
124 + help
125 + This option enables support for the CM-X270 LEDs.
126 +
127 comment "LED Triggers"
128
129 config LEDS_TRIGGER_TIMER
130 Index: linux-2.6.35.8/drivers/leds/Makefile
131 ===================================================================
132 --- linux-2.6.35.8.orig/drivers/leds/Makefile 2010-11-01 11:19:33.000000000 +0100
133 +++ linux-2.6.35.8/drivers/leds/Makefile 2010-11-01 11:35:43.000000000 +0100
134 @@ -37,6 +37,7 @@
135 obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o
136 obj-$(CONFIG_LEDS_DELL_NETBOOKS) += dell-led.o
137 obj-$(CONFIG_LEDS_MC13783) += leds-mc13783.o
138 +obj-$(CONFIG_LEDS_IFXMIPS) += leds-ifxmips.o
139
140 # LED SPI Drivers
141 obj-$(CONFIG_LEDS_DAC124S085) += leds-dac124s085.o