effe6b287b6dbb76da3b5345d296798b725990ac
[openwrt.git] / target / linux / ifxmips / patches / 110-drivers.patch
1 Index: linux-2.6.23/drivers/serial/Kconfig
2 ===================================================================
3 --- linux-2.6.23.orig/drivers/serial/Kconfig    2007-12-22 20:21:04.563793426 +0100
4 +++ linux-2.6.23/drivers/serial/Kconfig 2007-12-22 20:21:08.848037572 +0100
5 @@ -1259,4 +1259,10 @@
6           Currently, only 8250 compatible ports are supported, but
7           others can easily be added.
8  
9 +config SERIAL_IFXMIPS
10 +       bool "IFXMips serial driver"
11 +       depends on IFXMIPS
12 +       help
13 +         Driver for the ifxmipss built in ASC hardware
14 +
15  endmenu
16 Index: linux-2.6.23/drivers/serial/Makefile
17 ===================================================================
18 --- linux-2.6.23.orig/drivers/serial/Makefile   2007-12-22 20:21:04.571793884 +0100
19 +++ linux-2.6.23/drivers/serial/Makefile        2007-12-22 20:21:08.852037801 +0100
20 @@ -64,3 +64,4 @@
21  obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
22  obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
23  obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
24 +obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips_asc.o
25 Index: linux-2.6.23/drivers/mtd/maps/Makefile
26 ===================================================================
27 --- linux-2.6.23.orig/drivers/mtd/maps/Makefile 2007-12-22 20:21:04.579794340 +0100
28 +++ linux-2.6.23/drivers/mtd/maps/Makefile      2007-12-22 20:21:08.860038256 +0100
29 @@ -71,3 +71,4 @@
30  obj-$(CONFIG_MTD_OMAP_NOR)     += omap_nor.o
31  obj-$(CONFIG_MTD_MTX1)         += mtx-1_flash.o
32  obj-$(CONFIG_MTD_TQM834x)      += tqm834x.o
33 +obj-$(CONFIG_MTD_IFXMIPS)      += ifxmips.o
34 Index: linux-2.6.23/drivers/net/Kconfig
35 ===================================================================
36 --- linux-2.6.23.orig/drivers/net/Kconfig       2007-12-22 20:21:08.035991295 +0100
37 +++ linux-2.6.23/drivers/net/Kconfig    2007-12-22 20:21:08.860038256 +0100
38 @@ -339,6 +339,18 @@
39  
40  source "drivers/net/arm/Kconfig"
41  
42 +config IFXMIPS_MII0
43 +       tristate "Infineon IFXMips eth0 driver"
44 +       depends on IFXMIPS
45 +       help
46 +         Support for the MII0 inside the IFXMips SOC
47 +
48 +config IFXMIPS_MII1
49 +       tristate "Infineon IFXMips eth1 driver"
50 +       depends on IFXMIPS
51 +       help
52 +         Support for the MII1 inside the IFXMips SOC
53 +
54  config AX88796
55         tristate "ASIX AX88796 NE2000 clone support"
56         depends on ARM || MIPS
57 Index: linux-2.6.23/drivers/net/Makefile
58 ===================================================================
59 --- linux-2.6.23.orig/drivers/net/Makefile      2007-12-22 20:21:08.039991524 +0100
60 +++ linux-2.6.23/drivers/net/Makefile   2007-12-22 20:21:08.860038256 +0100
61 @@ -208,6 +208,7 @@
62  obj-$(CONFIG_FEC_8XX) += fec_8xx/
63  obj-$(CONFIG_PASEMI_MAC) += pasemi_mac.o
64  obj-$(CONFIG_MLX4_CORE) += mlx4/
65 +obj-$(CONFIG_IFXMIPS_MII0) += ifxmips_mii0.o
66  
67  obj-$(CONFIG_MACB) += macb.o
68  
69 Index: linux-2.6.23/drivers/char/watchdog/Makefile
70 ===================================================================
71 --- linux-2.6.23.orig/drivers/char/watchdog/Makefile    2007-12-22 20:21:04.599795479 +0100
72 +++ linux-2.6.23/drivers/char/watchdog/Makefile 2007-12-22 20:21:08.880039396 +0100
73 @@ -90,6 +90,7 @@
74  obj-$(CONFIG_INDYDOG) += indydog.o
75  obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
76  obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o
77 +obj-$(CONFIG_IFXMIPS_WDT) += ifxmips_wdt.o
78  
79  # PARISC Architecture
80  
81 Index: linux-2.6.23/drivers/char/Makefile
82 ===================================================================
83 --- linux-2.6.23.orig/drivers/char/Makefile     2007-12-22 20:21:04.611796164 +0100
84 +++ linux-2.6.23/drivers/char/Makefile  2007-12-24 15:04:56.849129757 +0100
85 @@ -135,3 +135,9 @@
86         rm $@.tmp
87  
88  endif
89 +
90 +obj-$(CONFIG_IFXMIPS_LED)      += ifxmips_led.o
91 +obj-$(CONFIG_IFXMIPS_GPIO)     += ifxmips_gpio.o
92 +obj-$(CONFIG_IFXMIPS_SSC)      += ifxmips_ssc.o
93 +obj-$(CONFIG_IFXMIPS_EEPROM)   += ifxmips_eeprom.o
94 +obj-$(CONFIG_IFXMIPS_MEI)      += ifxmips_mei_core.o ifxmips_mei_bsp.c ifxmips_mei_mib.c