3233fd95c5317966d03a39013eacd11c4150c0db
[openwrt/openwrt.git] / target / linux / ifxmips / patches / 110-drivers.patch
1 Index: linux-2.6.26.2/drivers/char/Makefile
2 ===================================================================
3 --- linux-2.6.26.2.orig/drivers/char/Makefile 2008-09-09 01:44:53.000000000 +0200
4 +++ linux-2.6.26.2/drivers/char/Makefile 2008-09-09 01:45:41.000000000 +0200
5 @@ -114,6 +114,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.26.2/drivers/mtd/maps/Makefile
17 ===================================================================
18 --- linux-2.6.26.2.orig/drivers/mtd/maps/Makefile 2008-09-09 01:44:51.000000000 +0200
19 +++ linux-2.6.26.2/drivers/mtd/maps/Makefile 2008-09-09 01:45:41.000000000 +0200
20 @@ -67,3 +67,4 @@
21 obj-$(CONFIG_MTD_OMAP_NOR) += omap_nor.o
22 obj-$(CONFIG_MTD_MTX1) += mtx-1_flash.o
23 obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o
24 +obj-$(CONFIG_MTD_IFXMIPS) += ifxmips.o
25 Index: linux-2.6.26.2/drivers/net/Kconfig
26 ===================================================================
27 --- linux-2.6.26.2.orig/drivers/net/Kconfig 2008-09-09 01:44:53.000000000 +0200
28 +++ linux-2.6.26.2/drivers/net/Kconfig 2008-09-09 01:45:41.000000000 +0200
29 @@ -351,6 +351,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.26.2/drivers/serial/Kconfig
43 ===================================================================
44 --- linux-2.6.26.2.orig/drivers/serial/Kconfig 2008-09-09 01:44:51.000000000 +0200
45 +++ linux-2.6.26.2/drivers/serial/Kconfig 2008-09-09 01:45:41.000000000 +0200
46 @@ -1334,6 +1334,14 @@
47 Currently, only 8250 compatible ports are supported, but
48 others can easily be added.
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.26.2/drivers/serial/Makefile
62 ===================================================================
63 --- linux-2.6.26.2.orig/drivers/serial/Makefile 2008-09-09 01:44:51.000000000 +0200
64 +++ linux-2.6.26.2/drivers/serial/Makefile 2008-09-09 01:46:23.000000000 +0200
65 @@ -68,3 +68,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.26.2/drivers/watchdog/Makefile
71 ===================================================================
72 --- linux-2.6.26.2.orig/drivers/watchdog/Makefile 2008-09-09 01:44:51.000000000 +0200
73 +++ linux-2.6.26.2/drivers/watchdog/Makefile 2008-09-09 01:45:41.000000000 +0200
74 @@ -97,6 +97,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.26.2/drivers/net/Makefile
83 ===================================================================
84 --- linux-2.6.26.2.orig/drivers/net/Makefile 2008-09-09 01:44:53.000000000 +0200
85 +++ linux-2.6.26.2/drivers/net/Makefile 2008-09-09 01:47:02.000000000 +0200
86 @@ -256,4 +256,4 @@
87 obj-$(CONFIG_NIU) += niu.o
88 obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
89 obj-$(CONFIG_SFC) += sfc/
90 -
91 +obj-$(CONFIG_IFXMIPS_MII0) += ifxmips_mii0.o
92 Index: linux-2.6.26.2/drivers/crypto/Kconfig
93 ===================================================================
94 --- linux-2.6.26.2.orig/drivers/crypto/Kconfig 2008-09-09 01:44:53.000000000 +0200
95 +++ linux-2.6.26.2/drivers/crypto/Kconfig 2008-09-09 01:45:41.000000000 +0200
96 @@ -9,6 +9,9 @@
97 If you say N, all options in this submenu will be skipped and disabled.
98
99 if CRYPTO_HW
100 +config CRYPTO_DEV_IFXMIPS
101 + tristate "Support for IFXMIPS Data Encryption Unit"
102 + depends on IFXMIPS
103
104 config CRYPTO_DEV_PADLOCK
105 tristate "Support for VIA PadLock ACE"
106 Index: linux-2.6.26.2/drivers/crypto/Makefile
107 ===================================================================
108 --- linux-2.6.26.2.orig/drivers/crypto/Makefile 2008-09-09 01:44:53.000000000 +0200
109 +++ linux-2.6.26.2/drivers/crypto/Makefile 2008-09-09 01:47:30.000000000 +0200
110 @@ -4,3 +4,4 @@
111 obj-$(CONFIG_CRYPTO_DEV_HIFN_795X) += hifn_795x.o
112 obj-$(CONFIG_CRYPTO_DEV_TALITOS) += talitos.o
113 obj-$(CONFIG_CRYPTO_DEV_IXP4XX) += ixp4xx_crypto.o
114 +obj-$(CONFIG_CRYPTO_DEV_IFXMIPS) += ifxdeu-aes.o ifxdeu-des.o ifxdeu-dma.o ifxdeu-generic.o ifxdeu-md5.o ifxdeu-sha1.o
115 Index: linux-2.6.26.2/drivers/usb/host/Kconfig
116 ===================================================================
117 --- linux-2.6.26.2.orig/drivers/usb/host/Kconfig 2008-09-09 01:44:51.000000000 +0200
118 +++ linux-2.6.26.2/drivers/usb/host/Kconfig 2008-09-09 01:48:14.000000000 +0200
119 @@ -305,3 +305,10 @@
120 help
121 This driver enables support for the on-chip R8A66597 in the
122 SH7366 and SH7723 processors.
123 +
124 +config USB_DWC_HCD
125 + tristate "IFXMIPS USB Host Controller Driver"
126 + depends on USB && IFXMIPS
127 + default y
128 + help
129 + Danube USB Host Controller
130 Index: linux-2.6.26.2/drivers/leds/Kconfig
131 ===================================================================
132 --- linux-2.6.26.2.orig/drivers/leds/Kconfig 2008-09-09 01:44:53.000000000 +0200
133 +++ linux-2.6.26.2/drivers/leds/Kconfig 2008-09-09 01:45:41.000000000 +0200
134 @@ -153,6 +153,12 @@
135 To compile this driver as a module, choose M here: the
136 module will be called leds-clevo-mail.
137
138 +config LEDS_IFXMIPS
139 + tristate "LED Support for IFXMIPS LEDs"
140 + depends on LEDS_CLASS && IFXMIPS
141 + help
142 + This option enables support for the CM-X270 LEDs.
143 +
144 comment "LED Triggers"
145
146 config LEDS_TRIGGERS
147 Index: linux-2.6.26.2/drivers/leds/Makefile
148 ===================================================================
149 --- linux-2.6.26.2.orig/drivers/leds/Makefile 2008-09-09 01:44:53.000000000 +0200
150 +++ linux-2.6.26.2/drivers/leds/Makefile 2008-09-09 01:49:25.000000000 +0200
151 @@ -22,6 +22,7 @@
152 obj-$(CONFIG_LEDS_CLEVO_MAIL) += leds-clevo-mail.o
153 obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o
154 obj-$(CONFIG_LEDS_FSG) += leds-fsg.o
155 +obj-$(CONFIG_LEDS_IFXMIPS) += leds-ifxmips.o
156
157 # LED Triggers
158 obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o
159 Index: linux-2.6.26.2/drivers/watchdog/Kconfig
160 ===================================================================
161 --- linux-2.6.26.2.orig/drivers/watchdog/Kconfig 2008-09-09 01:44:51.000000000 +0200
162 +++ linux-2.6.26.2/drivers/watchdog/Kconfig 2008-09-09 01:45:41.000000000 +0200
163 @@ -683,6 +683,12 @@
164 help
165 Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
166
167 +config IFXMIPS_WDT
168 + bool "IFXMips watchdog"
169 + depends on IFXMIPS
170 + help
171 + Hardware driver for the IFXMIPS Watchdog Timer.
172 +
173 # PARISC Architecture
174
175 # POWERPC Architecture