[ifxmips] adss 2.6.33 kernel patches, not defult yet as linux-atm breaks on 2.6.33
[openwrt/svn-archive/archive.git] / target / linux / ifxmips / patches-2.6.33 / 110-drivers.patch
1 Index: linux-2.6.33.2/drivers/serial/Kconfig
2 ===================================================================
3 --- linux-2.6.33.2.orig/drivers/serial/Kconfig 2010-04-05 20:33:41.000000000 +0200
4 +++ linux-2.6.33.2/drivers/serial/Kconfig 2010-04-05 20:33:43.000000000 +0200
5 @@ -1383,6 +1383,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.33.2/drivers/serial/Makefile
21 ===================================================================
22 --- linux-2.6.33.2.orig/drivers/serial/Makefile 2010-04-05 20:33:41.000000000 +0200
23 +++ linux-2.6.33.2/drivers/serial/Makefile 2010-04-05 20:34:00.000000000 +0200
24 @@ -82,3 +82,4 @@
25 obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
26 obj-$(CONFIG_SERIAL_TIMBERDALE) += timbuart.o
27 obj-$(CONFIG_SERIAL_GRLIB_GAISLER_APBUART) += apbuart.o
28 +obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips.o
29 Index: linux-2.6.33.2/drivers/net/Kconfig
30 ===================================================================
31 --- linux-2.6.33.2.orig/drivers/net/Kconfig 2010-04-05 20:33:41.000000000 +0200
32 +++ linux-2.6.33.2/drivers/net/Kconfig 2010-04-05 20:33:43.000000000 +0200
33 @@ -343,6 +343,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.33.2/drivers/net/Makefile
47 ===================================================================
48 --- linux-2.6.33.2.orig/drivers/net/Makefile 2010-04-05 20:33:41.000000000 +0200
49 +++ linux-2.6.33.2/drivers/net/Makefile 2010-04-05 20:33:43.000000000 +0200
50 @@ -247,6 +247,7 @@
51 obj-$(CONFIG_MLX4_CORE) += mlx4/
52 obj-$(CONFIG_ENC28J60) += enc28j60.o
53 obj-$(CONFIG_ETHOC) += ethoc.o
54 +obj-$(CONFIG_IFXMIPS_MII0) += ifxmips.o
55
56 obj-$(CONFIG_XTENSA_XT2000_SONIC) += xtsonic.o
57
58 Index: linux-2.6.33.2/drivers/mtd/maps/Kconfig
59 ===================================================================
60 --- linux-2.6.33.2.orig/drivers/mtd/maps/Kconfig 2010-04-05 20:33:41.000000000 +0200
61 +++ linux-2.6.33.2/drivers/mtd/maps/Kconfig 2010-04-05 20:33:43.000000000 +0200
62 @@ -257,6 +257,12 @@
63 help
64 Flash memory access on AMD Alchemy Pb/Db/RDK Reference 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.33.2/drivers/mtd/maps/Makefile
76 ===================================================================
77 --- linux-2.6.33.2.orig/drivers/mtd/maps/Makefile 2010-04-05 20:33:41.000000000 +0200
78 +++ linux-2.6.33.2/drivers/mtd/maps/Makefile 2010-04-05 20:33:43.000000000 +0200
79 @@ -61,3 +61,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.33.2/drivers/watchdog/Kconfig
85 ===================================================================
86 --- linux-2.6.33.2.orig/drivers/watchdog/Kconfig 2010-04-05 20:33:41.000000000 +0200
87 +++ linux-2.6.33.2/drivers/watchdog/Kconfig 2010-04-05 20:33:43.000000000 +0200
88 @@ -840,6 +840,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.33.2/drivers/watchdog/Makefile
102 ===================================================================
103 --- linux-2.6.33.2.orig/drivers/watchdog/Makefile 2010-04-05 20:33:41.000000000 +0200
104 +++ linux-2.6.33.2/drivers/watchdog/Makefile 2010-04-05 20:33:43.000000000 +0200
105 @@ -112,6 +112,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.33.2/drivers/leds/Kconfig
114 ===================================================================
115 --- linux-2.6.33.2.orig/drivers/leds/Kconfig 2010-04-05 20:33:41.000000000 +0200
116 +++ linux-2.6.33.2/drivers/leds/Kconfig 2010-04-05 20:33:43.000000000 +0200
117 @@ -269,6 +269,12 @@
118 To compile this driver as a module, choose M here: the module will
119 be called leds-adp5520.
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_TRIGGERS
130 Index: linux-2.6.33.2/drivers/leds/Makefile
131 ===================================================================
132 --- linux-2.6.33.2.orig/drivers/leds/Makefile 2010-04-05 20:33:41.000000000 +0200
133 +++ linux-2.6.33.2/drivers/leds/Makefile 2010-04-05 20:33:43.000000000 +0200
134 @@ -33,6 +33,7 @@
135 obj-$(CONFIG_LEDS_INTEL_SS4200) += leds-ss4200.o
136 obj-$(CONFIG_LEDS_LT3593) += leds-lt3593.o
137 obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o
138 +obj-$(CONFIG_LEDS_IFXMIPS) += leds-ifxmips.o
139
140 # LED SPI Drivers
141 obj-$(CONFIG_LEDS_DAC124S085) += leds-dac124s085.o