bump ifxmips to .30
[librecmc/librecmc.git] / target / linux / ifxmips / patches-2.6.30 / 110-drivers.patch
1 Index: linux-2.6.30.5/drivers/char/Makefile
2 ===================================================================
3 --- linux-2.6.30.5.orig/drivers/char/Makefile   2009-09-02 18:22:49.000000000 +0200
4 +++ linux-2.6.30.5/drivers/char/Makefile        2009-09-02 18:29:51.000000000 +0200
5 @@ -112,6 +112,10 @@
6  obj-$(CONFIG_JS_RTC)           += js-rtc.o
7  js-rtc-y = rtc.o
8  
9 +obj-$(CONFIG_IFXMIPS_SSC)  += ifxmips_ssc.o
10 +obj-$(CONFIG_IFXMIPS_EEPROM)   += ifxmips_eeprom.o
11 +obj-$(CONFIG_IFXMIPS_MEI)  += ifxmips_mei_core.o
12 +
13  # Files generated that shall be removed upon make clean
14  clean-files := consolemap_deftbl.c defkeymap.c
15  
16 Index: linux-2.6.30.5/drivers/mtd/maps/Makefile
17 ===================================================================
18 --- linux-2.6.30.5.orig/drivers/mtd/maps/Makefile       2009-08-16 23:19:38.000000000 +0200
19 +++ linux-2.6.30.5/drivers/mtd/maps/Makefile    2009-09-02 18:30:09.000000000 +0200
20 @@ -62,3 +62,4 @@
21  obj-$(CONFIG_MTD_BFIN_ASYNC)   += bfin-async-flash.o
22  obj-$(CONFIG_MTD_RBTX4939)     += rbtx4939-flash.o
23  obj-$(CONFIG_MTD_VMU)          += vmu-flash.o
24 +obj-$(CONFIG_MTD_IFXMIPS)  += ifxmips.o
25 Index: linux-2.6.30.5/drivers/net/Kconfig
26 ===================================================================
27 --- linux-2.6.30.5.orig/drivers/net/Kconfig     2009-09-02 18:22:49.000000000 +0200
28 +++ linux-2.6.30.5/drivers/net/Kconfig  2009-09-02 18:29:51.000000000 +0200
29 @@ -353,6 +353,12 @@
30  
31  source "drivers/net/arm/Kconfig"
32  
33 +config IFXMIPS_MII0
34 +       tristate "Infineon IFXMips eth0 driver"
35 +       depends on IFXMIPS
36 +       help
37 +         Support for the MII0 inside the IFXMips SOC
38 +
39  config AX88796
40         tristate "ASIX AX88796 NE2000 clone support"
41         depends on ARM || MIPS || SUPERH
42 Index: linux-2.6.30.5/drivers/serial/Kconfig
43 ===================================================================
44 --- linux-2.6.30.5.orig/drivers/serial/Kconfig  2009-08-16 23:19:38.000000000 +0200
45 +++ linux-2.6.30.5/drivers/serial/Kconfig       2009-09-02 18:29:51.000000000 +0200
46 @@ -1365,6 +1365,14 @@
47         help
48           Support for Console on the NWP serial ports.
49  
50 +config SERIAL_IFXMIPS
51 +       bool "IFXMips serial driver"
52 +       depends on IFXMIPS
53 +       select SERIAL_CORE
54 +       select SERIAL_CORE_CONSOLE
55 +       help
56 +         Driver for the ifxmipss built in ASC hardware
57 +
58  config SERIAL_QE
59         tristate "Freescale QUICC Engine serial port support"
60         depends on QUICC_ENGINE
61 Index: linux-2.6.30.5/drivers/serial/Makefile
62 ===================================================================
63 --- linux-2.6.30.5.orig/drivers/serial/Makefile 2009-08-16 23:19:38.000000000 +0200
64 +++ linux-2.6.30.5/drivers/serial/Makefile      2009-09-02 18:29:51.000000000 +0200
65 @@ -77,3 +77,4 @@
66  obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
67  obj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o
68  obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
69 +obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips_asc.o
70 Index: linux-2.6.30.5/drivers/watchdog/Makefile
71 ===================================================================
72 --- linux-2.6.30.5.orig/drivers/watchdog/Makefile       2009-08-16 23:19:38.000000000 +0200
73 +++ linux-2.6.30.5/drivers/watchdog/Makefile    2009-09-02 18:29:51.000000000 +0200
74 @@ -105,6 +105,7 @@
75  obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
76  obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
77  obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
78 +obj-$(CONFIG_IFXMIPS_WDT) += ifxmips_wdt.o
79  
80  # PARISC Architecture
81  
82 Index: linux-2.6.30.5/drivers/net/Makefile
83 ===================================================================
84 --- linux-2.6.30.5.orig/drivers/net/Makefile    2009-09-02 18:22:49.000000000 +0200
85 +++ linux-2.6.30.5/drivers/net/Makefile 2009-09-02 18:30:37.000000000 +0200
86 @@ -234,6 +234,7 @@
87  obj-$(CONFIG_MLX4_CORE) += mlx4/
88  obj-$(CONFIG_ENC28J60) += enc28j60.o
89  obj-$(CONFIG_ETHOC) += ethoc.o
90 +obj-$(CONFIG_IFXMIPS_MII0) += ifxmips_mii0.o
91  
92  obj-$(CONFIG_XTENSA_XT2000_SONIC) += xtsonic.o
93  
94 Index: linux-2.6.30.5/drivers/crypto/Kconfig
95 ===================================================================
96 --- linux-2.6.30.5.orig/drivers/crypto/Kconfig  2009-08-16 23:19:38.000000000 +0200
97 +++ linux-2.6.30.5/drivers/crypto/Kconfig       2009-09-02 18:29:51.000000000 +0200
98 @@ -9,6 +9,9 @@
99           If you say N, all options in this submenu will be skipped and disabled.
100  
101  if CRYPTO_HW
102 +config CRYPTO_DEV_IFXMIPS
103 +       tristate "Support for IFXMIPS Data Encryption Unit"
104 +       depends on IFXMIPS
105  
106  config CRYPTO_DEV_PADLOCK
107         tristate "Support for VIA PadLock ACE"
108 Index: linux-2.6.30.5/drivers/crypto/Makefile
109 ===================================================================
110 --- linux-2.6.30.5.orig/drivers/crypto/Makefile 2009-08-16 23:19:38.000000000 +0200
111 +++ linux-2.6.30.5/drivers/crypto/Makefile      2009-09-02 18:30:55.000000000 +0200
112 @@ -5,3 +5,4 @@
113  obj-$(CONFIG_CRYPTO_DEV_TALITOS) += talitos.o
114  obj-$(CONFIG_CRYPTO_DEV_IXP4XX) += ixp4xx_crypto.o
115  obj-$(CONFIG_CRYPTO_DEV_PPC4XX) += amcc/
116 +obj-$(CONFIG_CRYPTO_DEV_IFXMIPS) += ifxdeu-aes.o ifxdeu-des.o ifxdeu-dma.o ifxdeu-generic.o ifxdeu-md5.o ifxdeu-sha1.o
117 Index: linux-2.6.30.5/drivers/leds/Kconfig
118 ===================================================================
119 --- linux-2.6.30.5.orig/drivers/leds/Kconfig    2009-09-02 18:22:49.000000000 +0200
120 +++ linux-2.6.30.5/drivers/leds/Kconfig 2009-09-02 18:29:51.000000000 +0200
121 @@ -227,6 +227,12 @@
122           This option enables support for BD2802GU RGB LED driver chips
123           accessed via the I2C bus.
124  
125 +config LEDS_IFXMIPS
126 +       tristate "LED Support for IFXMIPS  LEDs"
127 +       depends on LEDS_CLASS && IFXMIPS
128 +       help
129 +         This option enables support for the CM-X270 LEDs.
130 +
131  comment "LED Triggers"
132  
133  config LEDS_TRIGGERS
134 Index: linux-2.6.30.5/drivers/leds/Makefile
135 ===================================================================
136 --- linux-2.6.30.5.orig/drivers/leds/Makefile   2009-09-02 18:22:49.000000000 +0200
137 +++ linux-2.6.30.5/drivers/leds/Makefile        2009-09-02 18:31:23.000000000 +0200
138 @@ -27,6 +27,7 @@
139  obj-$(CONFIG_LEDS_DA903X)              += leds-da903x.o
140  obj-$(CONFIG_LEDS_WM8350)              += leds-wm8350.o
141  obj-$(CONFIG_LEDS_PWM)                 += leds-pwm.o
142 +obj-$(CONFIG_LEDS_IFXMIPS)             += leds-ifxmips.o
143  
144  # LED SPI Drivers
145  obj-$(CONFIG_LEDS_DAC124S085)          += leds-dac124s085.o
146 Index: linux-2.6.30.5/drivers/watchdog/Kconfig
147 ===================================================================
148 --- linux-2.6.30.5.orig/drivers/watchdog/Kconfig        2009-08-16 23:19:38.000000000 +0200
149 +++ linux-2.6.30.5/drivers/watchdog/Kconfig     2009-09-02 18:29:51.000000000 +0200
150 @@ -764,6 +764,12 @@
151         help
152           Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
153  
154 +config IFXMIPS_WDT
155 +       bool "IFXMips watchdog"
156 +       depends on IFXMIPS
157 +       help
158 +         Hardware driver for the IFXMIPS Watchdog Timer.
159 +
160  # PARISC Architecture
161  
162  # POWERPC Architecture