9ce88f23250dcdbe788c43a92a109bc465263e26
[lede.git] / target / linux / ifxmips / patches / 110-drivers.patch
1 Index: linux-2.6.25/drivers/char/Makefile
2 ===================================================================
3 --- linux-2.6.25.orig/drivers/char/Makefile     2008-05-07 18:58:25.000000000 +0100
4 +++ linux-2.6.25/drivers/char/Makefile  2008-05-07 18:58:42.000000000 +0100
5 @@ -112,6 +112,12 @@
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/drivers/mtd/maps/Makefile
19 ===================================================================
20 --- linux-2.6.25.orig/drivers/mtd/maps/Makefile 2008-05-07 18:58:25.000000000 +0100
21 +++ linux-2.6.25/drivers/mtd/maps/Makefile      2008-05-07 18:58:42.000000000 +0100
22 @@ -68,3 +68,4 @@
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/drivers/net/Kconfig
28 ===================================================================
29 --- linux-2.6.25.orig/drivers/net/Kconfig       2008-05-07 18:58:41.000000000 +0100
30 +++ linux-2.6.25/drivers/net/Kconfig    2008-05-07 18:58:42.000000000 +0100
31 @@ -351,6 +351,12 @@
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/drivers/serial/Kconfig
45 ===================================================================
46 --- linux-2.6.25.orig/drivers/serial/Kconfig    2008-05-07 18:58:25.000000000 +0100
47 +++ linux-2.6.25/drivers/serial/Kconfig 2008-05-08 07:53:18.000000000 +0100
48 @@ -1327,6 +1327,14 @@
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/drivers/serial/Makefile
64 ===================================================================
65 --- linux-2.6.25.orig/drivers/serial/Makefile   2008-05-07 18:58:25.000000000 +0100
66 +++ linux-2.6.25/drivers/serial/Makefile        2008-05-07 18:58:42.000000000 +0100
67 @@ -66,4 +66,5 @@
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/drivers/watchdog/Makefile
74 ===================================================================
75 --- linux-2.6.25.orig/drivers/watchdog/Makefile 2008-05-07 18:58:25.000000000 +0100
76 +++ linux-2.6.25/drivers/watchdog/Makefile      2008-05-07 18:58:42.000000000 +0100
77 @@ -96,6 +96,7 @@
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