[ifxmips] refresh kernel patches
[openwrt/svn-archive/archive.git] / target / linux / ifxmips / patches / 110-drivers.patch
1 Index: linux-2.6.25.4/drivers/char/Makefile
2 ===================================================================
3 --- linux-2.6.25.4.orig/drivers/char/Makefile
4 +++ linux-2.6.25.4/drivers/char/Makefile
5 @@ -112,6 +112,12 @@ obj-$(CONFIG_PS3_FLASH) += ps3flash.o
6 obj-$(CONFIG_JS_RTC) += js-rtc.o
7 js-rtc-y = rtc.o
8
9 +obj-$(CONFIG_IFXMIPS_LED) += ifxmips_led.o
10 +obj-$(CONFIG_IFXMIPS_GPIO) += ifxmips_gpio.o
11 +obj-$(CONFIG_IFXMIPS_SSC) += ifxmips_ssc.o
12 +obj-$(CONFIG_IFXMIPS_EEPROM) += ifxmips_eeprom.o
13 +obj-$(CONFIG_IFXMIPS_MEI) += ifxmips_mei_core.o
14 +
15 # Files generated that shall be removed upon make clean
16 clean-files := consolemap_deftbl.c defkeymap.c
17
18 Index: linux-2.6.25.4/drivers/mtd/maps/Makefile
19 ===================================================================
20 --- linux-2.6.25.4.orig/drivers/mtd/maps/Makefile
21 +++ linux-2.6.25.4/drivers/mtd/maps/Makefile
22 @@ -68,3 +68,4 @@ obj-$(CONFIG_MTD_PLATRAM) += plat-ram.o
23 obj-$(CONFIG_MTD_OMAP_NOR) += omap_nor.o
24 obj-$(CONFIG_MTD_MTX1) += mtx-1_flash.o
25 obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o
26 +obj-$(CONFIG_MTD_IFXMIPS) += ifxmips.o
27 Index: linux-2.6.25.4/drivers/net/Kconfig
28 ===================================================================
29 --- linux-2.6.25.4.orig/drivers/net/Kconfig
30 +++ linux-2.6.25.4/drivers/net/Kconfig
31 @@ -351,6 +351,12 @@ config MACB
32
33 source "drivers/net/arm/Kconfig"
34
35 +config IFXMIPS_MII0
36 + tristate "Infineon IFXMips eth0 driver"
37 + depends on IFXMIPS
38 + help
39 + Support for the MII0 inside the IFXMips SOC
40 +
41 config AX88796
42 tristate "ASIX AX88796 NE2000 clone support"
43 depends on ARM || MIPS || SUPERH
44 Index: linux-2.6.25.4/drivers/serial/Kconfig
45 ===================================================================
46 --- linux-2.6.25.4.orig/drivers/serial/Kconfig
47 +++ linux-2.6.25.4/drivers/serial/Kconfig
48 @@ -1327,6 +1327,14 @@ config SERIAL_OF_PLATFORM
49 Currently, only 8250 compatible ports are supported, but
50 others can easily be added.
51
52 +config SERIAL_IFXMIPS
53 + bool "IFXMips serial driver"
54 + depends on IFXMIPS
55 + select SERIAL_CORE
56 + select SERIAL_CORE_CONSOLE
57 + help
58 + Driver for the ifxmipss built in ASC hardware
59 +
60 config SERIAL_QE
61 tristate "Freescale QUICC Engine serial port support"
62 depends on QUICC_ENGINE
63 Index: linux-2.6.25.4/drivers/serial/Makefile
64 ===================================================================
65 --- linux-2.6.25.4.orig/drivers/serial/Makefile
66 +++ linux-2.6.25.4/drivers/serial/Makefile
67 @@ -66,4 +66,5 @@ obj-$(CONFIG_SERIAL_UARTLITE) += uartlit
68 obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
69 obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
70 obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
71 +obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips_asc.o
72 obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
73 Index: linux-2.6.25.4/drivers/watchdog/Makefile
74 ===================================================================
75 --- linux-2.6.25.4.orig/drivers/watchdog/Makefile
76 +++ linux-2.6.25.4/drivers/watchdog/Makefile
77 @@ -96,6 +96,7 @@ obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o
78 obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
79 obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
80 obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
81 +obj-$(CONFIG_IFXMIPS_WDT) += ifxmips_wdt.o
82
83 # PARISC Architecture
84