[ifxmips] move kernel support to 2.6.28.7
[openwrt-10.03/.git] / target / linux / ifxmips / patches-2.6.28 / 110-drivers.patch
1 --- a/drivers/char/Makefile
2 +++ b/drivers/char/Makefile
3 @@ -110,6 +110,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 @@ -52,6 +52,7 @@ obj-$(CONFIG_MTD_NETtel)      += nettel.o
17  obj-$(CONFIG_MTD_SCB2_FLASH)   += scb2_flash.o
18  obj-$(CONFIG_MTD_H720X)                += h720x-flash.o
19  obj-$(CONFIG_MTD_SBC8240)      += sbc8240.o
20 +obj-$(CONFIG_MTD_IFXMIPS)      += ifxmips.o
21  obj-$(CONFIG_MTD_IXP4XX)       += ixp4xx.o
22  obj-$(CONFIG_MTD_IXP2000)      += ixp2000.o
23  obj-$(CONFIG_MTD_WRSBC8260)    += wr_sbc82xx_flash.o
24 --- a/drivers/net/Kconfig
25 +++ b/drivers/net/Kconfig
26 @@ -343,6 +343,12 @@ config MACB
27  
28  source "drivers/net/arm/Kconfig"
29  
30 +config IFXMIPS_MII0
31 +       tristate "Infineon IFXMips eth0 driver"
32 +       depends on IFXMIPS
33 +       help
34 +         Support for the MII0 inside the IFXMips SOC
35 +
36  config AX88796
37         tristate "ASIX AX88796 NE2000 clone support"
38         depends on ARM || MIPS || SUPERH
39 --- a/drivers/serial/Kconfig
40 +++ b/drivers/serial/Kconfig
41 @@ -1304,6 +1304,14 @@ config SERIAL_OF_PLATFORM
42           Currently, only 8250 compatible ports are supported, but
43           others can easily be added.
44  
45 +config SERIAL_IFXMIPS
46 +       bool "IFXMips serial driver"
47 +       depends on IFXMIPS
48 +       select SERIAL_CORE
49 +       select SERIAL_CORE_CONSOLE
50 +       help
51 +         Driver for the ifxmipss built in ASC hardware
52 +
53  config SERIAL_QE
54         tristate "Freescale QUICC Engine serial port support"
55         depends on QUICC_ENGINE
56 --- a/drivers/serial/Makefile
57 +++ b/drivers/serial/Makefile
58 @@ -73,3 +73,4 @@ obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_s
59  obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
60  obj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o
61  obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
62 +obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips_asc.o
63 --- a/drivers/watchdog/Makefile
64 +++ b/drivers/watchdog/Makefile
65 @@ -106,6 +106,7 @@ obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o
66  obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
67  obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
68  obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
69 +obj-$(CONFIG_IFXMIPS_WDT) += ifxmips_wdt.o
70  
71  # PARISC Architecture
72  
73 --- a/drivers/net/Makefile
74 +++ b/drivers/net/Makefile
75 @@ -262,4 +262,4 @@ obj-$(CONFIG_NETXEN_NIC) += netxen/
76  obj-$(CONFIG_NIU) += niu.o
77  obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
78  obj-$(CONFIG_SFC) += sfc/
79 -
80 +obj-$(CONFIG_IFXMIPS_MII0) += ifxmips_mii0.o
81 --- a/drivers/crypto/Kconfig
82 +++ b/drivers/crypto/Kconfig
83 @@ -9,6 +9,9 @@ menuconfig CRYPTO_HW
84           If you say N, all options in this submenu will be skipped and disabled.
85  
86  if CRYPTO_HW
87 +config CRYPTO_DEV_IFXMIPS
88 +       tristate "Support for IFXMIPS Data Encryption Unit"
89 +       depends on IFXMIPS
90  
91  config CRYPTO_DEV_PADLOCK
92         tristate "Support for VIA PadLock ACE"
93 --- a/drivers/crypto/Makefile
94 +++ b/drivers/crypto/Makefile
95 @@ -4,3 +4,4 @@ obj-$(CONFIG_CRYPTO_DEV_GEODE) += geode-
96  obj-$(CONFIG_CRYPTO_DEV_HIFN_795X) += hifn_795x.o
97  obj-$(CONFIG_CRYPTO_DEV_TALITOS) += talitos.o
98  obj-$(CONFIG_CRYPTO_DEV_IXP4XX) += ixp4xx_crypto.o
99 +obj-$(CONFIG_CRYPTO_DEV_IFXMIPS) += ifxdeu-aes.o ifxdeu-des.o ifxdeu-dma.o ifxdeu-generic.o ifxdeu-md5.o ifxdeu-sha1.o
100 --- a/drivers/usb/host/Kconfig
101 +++ b/drivers/usb/host/Kconfig
102 @@ -321,3 +321,10 @@ config USB_HWA_HCD
103  
104           To compile this driver a module, choose M here: the module
105           will be called "hwa-hc".
106 +
107 +config USB_DWC_HCD
108 +       tristate "IFXMIPS USB Host Controller Driver"
109 +       depends on USB && IFXMIPS
110 +       default y
111 +       help
112 +       Danube USB Host Controller
113 --- a/drivers/leds/Kconfig
114 +++ b/drivers/leds/Kconfig
115 @@ -171,6 +171,12 @@ config LEDS_DA903X
116           This option enables support for on-chip LED drivers found
117           on Dialog Semiconductor DA9030/DA9034 PMICs.
118  
119 +config LEDS_IFXMIPS
120 +       tristate "LED Support for IFXMIPS LEDs"
121 +       depends on LEDS_CLASS && IFXMIPS
122 +       help
123 +         This option enables support for the IFXMIPS LEDs.
124 +
125  comment "LED Triggers"
126  
127  config LEDS_TRIGGERS
128 --- a/drivers/leds/Makefile
129 +++ b/drivers/leds/Makefile
130 @@ -24,6 +24,7 @@ obj-$(CONFIG_LEDS_FSG)                        += leds-fsg.o
131  obj-$(CONFIG_LEDS_PCA955X)             += leds-pca955x.o
132  obj-$(CONFIG_LEDS_DA903X)              += leds-da903x.o
133  obj-$(CONFIG_LEDS_HP_DISK)             += leds-hp-disk.o
134 +obj-$(CONFIG_LEDS_IFXMIPS)             += leds-ifxmips.o
135  
136  # LED Triggers
137  obj-$(CONFIG_LEDS_TRIGGER_TIMER)       += ledtrig-timer.o
138 --- a/drivers/watchdog/Kconfig
139 +++ b/drivers/watchdog/Kconfig
140 @@ -747,6 +747,12 @@ config TXX9_WDT
141         help
142           Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
143  
144 +config IFXMIPS_WDT
145 +       bool "IFXMips watchdog"
146 +       depends on IFXMIPS
147 +       help
148 +         Hardware driver for the IFXMIPS Watchdog Timer.
149 +
150  # PARISC Architecture
151  
152  # POWERPC Architecture