[kernel] update to 2.6.25.12
[openwrt/svn-archive/archive.git] / target / linux / ifxmips / patches / 110-drivers.patch
1 --- a/drivers/char/Makefile
2 +++ b/drivers/char/Makefile
3 @@ -113,6 +113,10 @@
4 obj-$(CONFIG_JS_RTC) += js-rtc.o
5 js-rtc-y = rtc.o
6
7 +obj-$(CONFIG_IFXMIPS_SSC) += ifxmips_ssc.o
8 +obj-$(CONFIG_IFXMIPS_EEPROM) += ifxmips_eeprom.o
9 +obj-$(CONFIG_IFXMIPS_MEI) += ifxmips_mei_core.o
10 +
11 # Files generated that shall be removed upon make clean
12 clean-files := consolemap_deftbl.c defkeymap.c
13
14 --- a/drivers/mtd/maps/Makefile
15 +++ b/drivers/mtd/maps/Makefile
16 @@ -68,3 +68,4 @@
17 obj-$(CONFIG_MTD_OMAP_NOR) += omap_nor.o
18 obj-$(CONFIG_MTD_MTX1) += mtx-1_flash.o
19 obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o
20 +obj-$(CONFIG_MTD_IFXMIPS) += ifxmips.o
21 --- a/drivers/net/Kconfig
22 +++ b/drivers/net/Kconfig
23 @@ -351,6 +351,12 @@
24
25 source "drivers/net/arm/Kconfig"
26
27 +config IFXMIPS_MII0
28 + tristate "Infineon IFXMips eth0 driver"
29 + depends on IFXMIPS
30 + help
31 + Support for the MII0 inside the IFXMips SOC
32 +
33 config AX88796
34 tristate "ASIX AX88796 NE2000 clone support"
35 depends on ARM || MIPS || SUPERH
36 --- a/drivers/serial/Kconfig
37 +++ b/drivers/serial/Kconfig
38 @@ -1327,6 +1327,14 @@
39 Currently, only 8250 compatible ports are supported, but
40 others can easily be added.
41
42 +config SERIAL_IFXMIPS
43 + bool "IFXMips serial driver"
44 + depends on IFXMIPS
45 + select SERIAL_CORE
46 + select SERIAL_CORE_CONSOLE
47 + help
48 + Driver for the ifxmipss built in ASC hardware
49 +
50 config SERIAL_QE
51 tristate "Freescale QUICC Engine serial port support"
52 depends on QUICC_ENGINE
53 --- a/drivers/serial/Makefile
54 +++ b/drivers/serial/Makefile
55 @@ -66,4 +66,5 @@
56 obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
57 obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
58 obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
59 +obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips_asc.o
60 obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
61 --- a/drivers/watchdog/Makefile
62 +++ b/drivers/watchdog/Makefile
63 @@ -96,6 +96,7 @@
64 obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
65 obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
66 obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
67 +obj-$(CONFIG_IFXMIPS_WDT) += ifxmips_wdt.o
68
69 # PARISC Architecture
70
71 --- a/drivers/net/Makefile
72 +++ b/drivers/net/Makefile
73 @@ -254,3 +254,4 @@
74 obj-$(CONFIG_NETXEN_NIC) += netxen/
75 obj-$(CONFIG_NIU) += niu.o
76 obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
77 +obj-$(CONFIG_IFXMIPS_MII0) += ifxmips_mii0.o
78 --- a/drivers/crypto/Kconfig
79 +++ b/drivers/crypto/Kconfig
80 @@ -9,6 +9,9 @@
81 If you say N, all options in this submenu will be skipped and disabled.
82
83 if CRYPTO_HW
84 +config CRYPTO_DEV_IFXMIPS
85 + tristate "Support for IFXMIPS Data Encryption Unit"
86 + depends on IFXMIPS
87
88 config CRYPTO_DEV_PADLOCK
89 tristate "Support for VIA PadLock ACE"
90 --- a/drivers/crypto/Makefile
91 +++ b/drivers/crypto/Makefile
92 @@ -2,3 +2,4 @@
93 obj-$(CONFIG_CRYPTO_DEV_PADLOCK_SHA) += padlock-sha.o
94 obj-$(CONFIG_CRYPTO_DEV_GEODE) += geode-aes.o
95 obj-$(CONFIG_CRYPTO_DEV_HIFN_795X) += hifn_795x.o
96 +obj-$(CONFIG_CRYPTO_DEV_IFXMIPS) += ifxdeu-aes.o ifxdeu-des.o ifxdeu-dma.o ifxdeu-generic.o ifxdeu-md5.o ifxdeu-sha1.o
97 --- a/drivers/usb/host/Kconfig
98 +++ b/drivers/usb/host/Kconfig
99 @@ -260,3 +260,9 @@
100 To compile this driver as a module, choose M here: the
101 module will be called r8a66597-hcd.
102
103 +config USB_DWC_HCD
104 + tristate "IFXMIPS USB Host Controller Driver"
105 + depends on USB && IFXMIPS
106 + default y
107 + help
108 + Danube USB Host Controller
109 --- a/drivers/usb/host/Makefile
110 +++ b/drivers/usb/host/Makefile
111 @@ -16,4 +16,6 @@
112 obj-$(CONFIG_USB_SL811_CS) += sl811_cs.o
113 obj-$(CONFIG_USB_U132_HCD) += u132-hcd.o
114 obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
115 -
116 +obj-$(CONFIG_USB_DWC_HCD) += dwc_otg_hcd.o dwc_otg_hcd_intr.o dwc_otg_hcd_queue.o \
117 + dwc_otg_attr.o dwc_otg_driver.o dwc_otg_cil.o \
118 + dwc_otg_cil_intr.o dwc_otg_proc.o dwc_otg_ifx.o
119 --- a/drivers/leds/Kconfig
120 +++ b/drivers/leds/Kconfig
121 @@ -151,6 +151,12 @@
122 To compile this driver as a module, choose M here: the
123 module will be called leds-clevo-mail.
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 --- a/drivers/leds/Makefile
135 +++ b/drivers/leds/Makefile
136 @@ -22,6 +22,7 @@
137 obj-$(CONFIG_LEDS_CM_X270) += leds-cm-x270.o
138 obj-$(CONFIG_LEDS_CLEVO_MAIL) += leds-clevo-mail.o
139 obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o
140 +obj-$(CONFIG_LEDS_IFXMIPS) += leds-ifxmips.o
141
142 # LED Triggers
143 obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o
144 --- a/drivers/watchdog/Kconfig
145 +++ b/drivers/watchdog/Kconfig
146 @@ -670,6 +670,12 @@
147 help
148 Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
149
150 +config IFXMIPS_WDT
151 + bool "IFXMips watchdog"
152 + depends on IFXMIPS
153 + help
154 + Hardware driver for the IFXMIPS Watchdog Timer.
155 +
156 # PARISC Architecture
157
158 # POWERPC Architecture