709108124fcc222485a519c77c7d3fe93548e78d
[openwrt.git] / target / linux / ifxmips / patches / 110-drivers.patch
1 Index: linux-2.6.25.7/drivers/char/Makefile
2 ===================================================================
3 --- linux-2.6.25.7.orig/drivers/char/Makefile   2008-06-18 00:34:41.000000000 +0200
4 +++ linux-2.6.25.7/drivers/char/Makefile        2008-06-18 00:36:56.000000000 +0200
5 @@ -113,6 +113,11 @@
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_SSC)  += ifxmips_ssc.o
11 +obj-$(CONFIG_IFXMIPS_EEPROM)   += ifxmips_eeprom.o
12 +obj-$(CONFIG_IFXMIPS_MEI)  += ifxmips_mei_core.o
13 +
14  # Files generated that shall be removed upon make clean
15  clean-files := consolemap_deftbl.c defkeymap.c
16  
17 Index: linux-2.6.25.7/drivers/mtd/maps/Makefile
18 ===================================================================
19 --- linux-2.6.25.7.orig/drivers/mtd/maps/Makefile       2008-06-18 00:34:41.000000000 +0200
20 +++ linux-2.6.25.7/drivers/mtd/maps/Makefile    2008-06-18 00:36:56.000000000 +0200
21 @@ -68,3 +68,4 @@
22  obj-$(CONFIG_MTD_OMAP_NOR)     += omap_nor.o
23  obj-$(CONFIG_MTD_MTX1)         += mtx-1_flash.o
24  obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o
25 +obj-$(CONFIG_MTD_IFXMIPS)  += ifxmips.o
26 Index: linux-2.6.25.7/drivers/net/Kconfig
27 ===================================================================
28 --- linux-2.6.25.7.orig/drivers/net/Kconfig     2008-06-18 00:34:41.000000000 +0200
29 +++ linux-2.6.25.7/drivers/net/Kconfig  2008-06-18 00:36:56.000000000 +0200
30 @@ -351,6 +351,12 @@
31  
32  source "drivers/net/arm/Kconfig"
33  
34 +config IFXMIPS_MII0
35 +       tristate "Infineon IFXMips eth0 driver"
36 +       depends on IFXMIPS
37 +       help
38 +         Support for the MII0 inside the IFXMips SOC
39 +
40  config AX88796
41         tristate "ASIX AX88796 NE2000 clone support"
42         depends on ARM || MIPS || SUPERH
43 Index: linux-2.6.25.7/drivers/serial/Kconfig
44 ===================================================================
45 --- linux-2.6.25.7.orig/drivers/serial/Kconfig  2008-06-18 00:34:41.000000000 +0200
46 +++ linux-2.6.25.7/drivers/serial/Kconfig       2008-06-18 00:36:56.000000000 +0200
47 @@ -1327,6 +1327,14 @@
48           Currently, only 8250 compatible ports are supported, but
49           others can easily be added.
50  
51 +config SERIAL_IFXMIPS
52 +       bool "IFXMips serial driver"
53 +       depends on IFXMIPS
54 +       select SERIAL_CORE
55 +       select SERIAL_CORE_CONSOLE
56 +       help
57 +         Driver for the ifxmipss built in ASC hardware
58 +
59  config SERIAL_QE
60         tristate "Freescale QUICC Engine serial port support"
61         depends on QUICC_ENGINE
62 Index: linux-2.6.25.7/drivers/serial/Makefile
63 ===================================================================
64 --- linux-2.6.25.7.orig/drivers/serial/Makefile 2008-06-18 00:34:41.000000000 +0200
65 +++ linux-2.6.25.7/drivers/serial/Makefile      2008-06-18 00:36:56.000000000 +0200
66 @@ -66,4 +66,5 @@
67  obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
68  obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
69  obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
70 +obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips_asc.o
71  obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
72 Index: linux-2.6.25.7/drivers/watchdog/Makefile
73 ===================================================================
74 --- linux-2.6.25.7.orig/drivers/watchdog/Makefile       2008-06-18 00:34:41.000000000 +0200
75 +++ linux-2.6.25.7/drivers/watchdog/Makefile    2008-06-18 00:36:56.000000000 +0200
76 @@ -96,6 +96,7 @@
77  obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
78  obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
79  obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
80 +obj-$(CONFIG_IFXMIPS_WDT) += ifxmips_wdt.o
81  
82  # PARISC Architecture
83  
84 Index: linux-2.6.25.7/drivers/net/Makefile
85 ===================================================================
86 --- linux-2.6.25.7.orig/drivers/net/Makefile    2008-06-18 00:34:41.000000000 +0200
87 +++ linux-2.6.25.7/drivers/net/Makefile 2008-06-18 00:36:56.000000000 +0200
88 @@ -254,3 +254,4 @@
89  obj-$(CONFIG_NETXEN_NIC) += netxen/
90  obj-$(CONFIG_NIU) += niu.o
91  obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
92 +obj-$(CONFIG_IFXMIPS_MII0) += ifxmips_mii0.o
93 Index: linux-2.6.25.7/drivers/crypto/Kconfig
94 ===================================================================
95 --- linux-2.6.25.7.orig/drivers/crypto/Kconfig  2008-06-18 18:10:24.000000000 +0200
96 +++ linux-2.6.25.7/drivers/crypto/Kconfig       2008-06-18 18:11:46.000000000 +0200
97 @@ -9,6 +9,9 @@
98           If you say N, all options in this submenu will be skipped and disabled.
99  
100  if CRYPTO_HW
101 +config CRYPTO_DEV_IFXMIPS
102 +       tristate "Support for IFXMIPS Data Encryption Unit"
103 +       depends on IFXMIPS
104  
105  config CRYPTO_DEV_PADLOCK
106         tristate "Support for VIA PadLock ACE"
107 Index: linux-2.6.25.7/drivers/crypto/Makefile
108 ===================================================================
109 --- linux-2.6.25.7.orig/drivers/crypto/Makefile 2008-06-18 18:09:30.000000000 +0200
110 +++ linux-2.6.25.7/drivers/crypto/Makefile      2008-06-18 18:10:18.000000000 +0200
111 @@ -2,3 +2,4 @@
112  obj-$(CONFIG_CRYPTO_DEV_PADLOCK_SHA) += padlock-sha.o
113  obj-$(CONFIG_CRYPTO_DEV_GEODE) += geode-aes.o
114  obj-$(CONFIG_CRYPTO_DEV_HIFN_795X) += hifn_795x.o
115 +obj-$(CONFIG_CRYPTO_DEV_IFXMIPS) += ifxdeu-aes.o ifxdeu-des.o ifxdeu-dma.o ifxdeu-generic.o ifxdeu-md5.o ifxdeu-sha1.o