c4627972ca11027f1a2dec91e482d0c47ed56f24
[openwrt/svn-archive/archive.git] / target / linux / ifxmips / patches / 110-drivers.patch
1 Index: linux-2.6.25.7/drivers/char/Makefile
2 ===================================================================
3 --- linux-2.6.25.7.orig/drivers/char/Makefile 2008-06-26 09:53:43.000000000 +0200
4 +++ linux-2.6.25.7/drivers/char/Makefile 2008-06-26 09:53:53.000000000 +0200
5 @@ -113,6 +113,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.25.7/drivers/mtd/maps/Makefile
17 ===================================================================
18 --- linux-2.6.25.7.orig/drivers/mtd/maps/Makefile 2008-06-26 09:53:43.000000000 +0200
19 +++ linux-2.6.25.7/drivers/mtd/maps/Makefile 2008-06-26 09:53:53.000000000 +0200
20 @@ -68,3 +68,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.25.7/drivers/net/Kconfig
26 ===================================================================
27 --- linux-2.6.25.7.orig/drivers/net/Kconfig 2008-06-26 09:53:43.000000000 +0200
28 +++ linux-2.6.25.7/drivers/net/Kconfig 2008-06-26 09:53:53.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.25.7/drivers/serial/Kconfig
43 ===================================================================
44 --- linux-2.6.25.7.orig/drivers/serial/Kconfig 2008-06-26 09:53:43.000000000 +0200
45 +++ linux-2.6.25.7/drivers/serial/Kconfig 2008-06-26 09:53:53.000000000 +0200
46 @@ -1327,6 +1327,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.25.7/drivers/serial/Makefile
62 ===================================================================
63 --- linux-2.6.25.7.orig/drivers/serial/Makefile 2008-06-26 09:53:43.000000000 +0200
64 +++ linux-2.6.25.7/drivers/serial/Makefile 2008-06-26 09:53:53.000000000 +0200
65 @@ -66,4 +66,5 @@
66 obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
67 obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
68 obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
69 +obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips_asc.o
70 obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
71 Index: linux-2.6.25.7/drivers/watchdog/Makefile
72 ===================================================================
73 --- linux-2.6.25.7.orig/drivers/watchdog/Makefile 2008-06-26 09:53:43.000000000 +0200
74 +++ linux-2.6.25.7/drivers/watchdog/Makefile 2008-06-26 09:53:53.000000000 +0200
75 @@ -96,6 +96,7 @@
76 obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
77 obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
78 obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
79 +obj-$(CONFIG_IFXMIPS_WDT) += ifxmips_wdt.o
80
81 # PARISC Architecture
82
83 Index: linux-2.6.25.7/drivers/net/Makefile
84 ===================================================================
85 --- linux-2.6.25.7.orig/drivers/net/Makefile 2008-06-26 09:53:43.000000000 +0200
86 +++ linux-2.6.25.7/drivers/net/Makefile 2008-06-26 09:53:53.000000000 +0200
87 @@ -254,3 +254,4 @@
88 obj-$(CONFIG_NETXEN_NIC) += netxen/
89 obj-$(CONFIG_NIU) += niu.o
90 obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
91 +obj-$(CONFIG_IFXMIPS_MII0) += ifxmips_mii0.o
92 Index: linux-2.6.25.7/drivers/crypto/Kconfig
93 ===================================================================
94 --- linux-2.6.25.7.orig/drivers/crypto/Kconfig 2008-06-26 09:53:43.000000000 +0200
95 +++ linux-2.6.25.7/drivers/crypto/Kconfig 2008-06-26 09:53:53.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.25.7/drivers/crypto/Makefile
107 ===================================================================
108 --- linux-2.6.25.7.orig/drivers/crypto/Makefile 2008-06-26 09:53:43.000000000 +0200
109 +++ linux-2.6.25.7/drivers/crypto/Makefile 2008-06-26 09:53:53.000000000 +0200
110 @@ -2,3 +2,4 @@
111 obj-$(CONFIG_CRYPTO_DEV_PADLOCK_SHA) += padlock-sha.o
112 obj-$(CONFIG_CRYPTO_DEV_GEODE) += geode-aes.o
113 obj-$(CONFIG_CRYPTO_DEV_HIFN_795X) += hifn_795x.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.25.7/drivers/usb/host/Kconfig
116 ===================================================================
117 --- linux-2.6.25.7.orig/drivers/usb/host/Kconfig 2008-06-26 09:53:43.000000000 +0200
118 +++ linux-2.6.25.7/drivers/usb/host/Kconfig 2008-06-26 09:53:53.000000000 +0200
119 @@ -260,3 +260,9 @@
120 To compile this driver as a module, choose M here: the
121 module will be called r8a66597-hcd.
122
123 +config USB_DWC_HCD
124 + tristate "IFXMIPS USB Host Controller Driver"
125 + depends on USB && IFXMIPS
126 + default y
127 + help
128 + Danube USB Host Controller
129 Index: linux-2.6.25.7/drivers/usb/host/Makefile
130 ===================================================================
131 --- linux-2.6.25.7.orig/drivers/usb/host/Makefile 2008-06-26 09:53:43.000000000 +0200
132 +++ linux-2.6.25.7/drivers/usb/host/Makefile 2008-06-26 09:53:53.000000000 +0200
133 @@ -16,4 +16,6 @@
134 obj-$(CONFIG_USB_SL811_CS) += sl811_cs.o
135 obj-$(CONFIG_USB_U132_HCD) += u132-hcd.o
136 obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
137 -
138 +obj-$(CONFIG_USB_DWC_HCD) += dwc_otg_hcd.o dwc_otg_hcd_intr.o dwc_otg_hcd_queue.o \
139 + dwc_otg_attr.o dwc_otg_driver.o dwc_otg_cil.o \
140 + dwc_otg_cil_intr.o dwc_otg_proc.o dwc_otg_ifx.o
141 Index: linux-2.6.25.7/drivers/leds/Kconfig
142 ===================================================================
143 --- linux-2.6.25.7.orig/drivers/leds/Kconfig 2008-06-26 09:53:43.000000000 +0200
144 +++ linux-2.6.25.7/drivers/leds/Kconfig 2008-06-26 09:53:53.000000000 +0200
145 @@ -151,6 +151,12 @@
146 To compile this driver as a module, choose M here: the
147 module will be called leds-clevo-mail.
148
149 +config LEDS_IFXMIPS
150 + tristate "LED Support for IFXMIPS LEDs"
151 + depends on LEDS_CLASS && IFXMIPS
152 + help
153 + This option enables support for the CM-X270 LEDs.
154 +
155 comment "LED Triggers"
156
157 config LEDS_TRIGGERS
158 Index: linux-2.6.25.7/drivers/leds/Makefile
159 ===================================================================
160 --- linux-2.6.25.7.orig/drivers/leds/Makefile 2008-06-26 09:53:43.000000000 +0200
161 +++ linux-2.6.25.7/drivers/leds/Makefile 2008-06-26 09:53:53.000000000 +0200
162 @@ -22,6 +22,7 @@
163 obj-$(CONFIG_LEDS_CM_X270) += leds-cm-x270.o
164 obj-$(CONFIG_LEDS_CLEVO_MAIL) += leds-clevo-mail.o
165 obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o
166 +obj-$(CONFIG_LEDS_IFXMIPS) += leds-ifxmips.o
167
168 # LED Triggers
169 obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o
170 Index: linux-2.6.25.7/drivers/watchdog/Kconfig
171 ===================================================================
172 --- linux-2.6.25.7.orig/drivers/watchdog/Kconfig 2008-06-26 10:21:00.000000000 +0200
173 +++ linux-2.6.25.7/drivers/watchdog/Kconfig 2008-06-26 10:22:13.000000000 +0200
174 @@ -670,6 +670,12 @@
175 help
176 Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
177
178 +config IFXMIPS_WDT
179 + bool "IFXMips watchdog"
180 + depends on IFXMIPS
181 + help
182 + Hardware driver for the IFXMIPS Watchdog Timer.
183 +
184 # PARISC Architecture
185
186 # POWERPC Architecture