[kernel] refresh 2.6.26 patches
[openwrt.git] / target / linux / ifxmips / patches / 110-drivers.patch
1 --- a/drivers/char/Makefile
2 +++ b/drivers/char/Makefile
3 @@ -114,6 +114,10 @@ obj-$(CONFIG_PS3_FLASH)            += ps3flash.o
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 @@ -67,3 +67,4 @@ obj-$(CONFIG_MTD_PLATRAM)     += plat-ram.o
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 @@ config MACB
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 @@ -1334,6 +1334,14 @@ config SERIAL_OF_PLATFORM
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 @@ -68,3 +68,4 @@ obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_s
56  obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
57  obj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o
58  obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
59 +obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips_asc.o
60 --- a/drivers/watchdog/Makefile
61 +++ b/drivers/watchdog/Makefile
62 @@ -97,6 +97,7 @@ obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o
63  obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
64  obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
65  obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
66 +obj-$(CONFIG_IFXMIPS_WDT) += ifxmips_wdt.o
67  
68  # PARISC Architecture
69  
70 --- a/drivers/net/Makefile
71 +++ b/drivers/net/Makefile
72 @@ -256,4 +256,4 @@ obj-$(CONFIG_NETXEN_NIC) += netxen/
73  obj-$(CONFIG_NIU) += niu.o
74  obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
75  obj-$(CONFIG_SFC) += sfc/
76 -
77 +obj-$(CONFIG_IFXMIPS_MII0) += ifxmips_mii0.o
78 --- a/drivers/crypto/Kconfig
79 +++ b/drivers/crypto/Kconfig
80 @@ -9,6 +9,9 @@ menuconfig CRYPTO_HW
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 @@ -4,3 +4,4 @@ obj-$(CONFIG_CRYPTO_DEV_GEODE) += geode-
93  obj-$(CONFIG_CRYPTO_DEV_HIFN_795X) += hifn_795x.o
94  obj-$(CONFIG_CRYPTO_DEV_TALITOS) += talitos.o
95  obj-$(CONFIG_CRYPTO_DEV_IXP4XX) += ixp4xx_crypto.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 @@ -305,3 +305,10 @@ config SUPERH_ON_CHIP_R8A66597
100         help
101            This driver enables support for the on-chip R8A66597 in the
102            SH7366 and SH7723 processors.
103 +
104 +config USB_DWC_HCD
105 +       tristate "IFXMIPS USB Host Controller Driver"
106 +       depends on USB && IFXMIPS 
107 +       default y
108 +       help
109 +       Danube USB Host Controller
110 --- a/drivers/leds/Kconfig
111 +++ b/drivers/leds/Kconfig
112 @@ -153,6 +153,12 @@ config LEDS_CLEVO_MAIL
113           To compile this driver as a module, choose M here: the
114           module will be called leds-clevo-mail.
115  
116 +config LEDS_IFXMIPS
117 +       tristate "LED Support for IFXMIPS  LEDs"
118 +       depends on LEDS_CLASS && IFXMIPS
119 +       help
120 +         This option enables support for the CM-X270 LEDs.
121 +
122  comment "LED Triggers"
123  
124  config LEDS_TRIGGERS
125 --- a/drivers/leds/Makefile
126 +++ b/drivers/leds/Makefile
127 @@ -22,6 +22,7 @@ obj-$(CONFIG_LEDS_CM_X270)              
128  obj-$(CONFIG_LEDS_CLEVO_MAIL)          += leds-clevo-mail.o
129  obj-$(CONFIG_LEDS_HP6XX)               += leds-hp6xx.o
130  obj-$(CONFIG_LEDS_FSG)                 += leds-fsg.o
131 +obj-$(CONFIG_LEDS_IFXMIPS)             += leds-ifxmips.o
132  
133  # LED Triggers
134  obj-$(CONFIG_LEDS_TRIGGER_TIMER)       += ledtrig-timer.o
135 --- a/drivers/watchdog/Kconfig
136 +++ b/drivers/watchdog/Kconfig
137 @@ -683,6 +683,12 @@ config TXX9_WDT
138         help
139           Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
140  
141 +config IFXMIPS_WDT
142 +       bool "IFXMips watchdog"
143 +       depends on IFXMIPS
144 +       help
145 +         Hardware driver for the IFXMIPS Watchdog Timer.
146 +
147  # PARISC Architecture
148  
149  # POWERPC Architecture