]> git.enpas.org Git - openwrt.git/blob - target/linux/ifxmips/patches/110-drivers.patch
a2fba850325b032c328f941abb2df9386794fbcf
[openwrt.git] / target / linux / ifxmips / patches / 110-drivers.patch
1 --- a/drivers/char/Makefile
2 +++ b/drivers/char/Makefile
3 @@ -113,6 +113,12 @@
4  obj-$(CONFIG_JS_RTC)           += js-rtc.o
5  js-rtc-y = rtc.o
6  
7 +obj-$(CONFIG_IFXMIPS_LED)  += ifxmips_led.o
8 +obj-$(CONFIG_IFXMIPS_GPIO) += ifxmips_gpio.o
9 +obj-$(CONFIG_IFXMIPS_SSC)  += ifxmips_ssc.o
10 +obj-$(CONFIG_IFXMIPS_EEPROM)   += ifxmips_eeprom.o
11 +obj-$(CONFIG_IFXMIPS_MEI)  += ifxmips_mei_core.o
12 +
13  # Files generated that shall be removed upon make clean
14  clean-files := consolemap_deftbl.c defkeymap.c
15  
16 --- a/drivers/mtd/maps/Makefile
17 +++ b/drivers/mtd/maps/Makefile
18 @@ -68,3 +68,4 @@
19  obj-$(CONFIG_MTD_OMAP_NOR)     += omap_nor.o
20  obj-$(CONFIG_MTD_MTX1)         += mtx-1_flash.o
21  obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o
22 +obj-$(CONFIG_MTD_IFXMIPS)  += ifxmips.o
23 --- a/drivers/net/Kconfig
24 +++ b/drivers/net/Kconfig
25 @@ -351,6 +351,12 @@
26  
27  source "drivers/net/arm/Kconfig"
28  
29 +config IFXMIPS_MII0
30 +       tristate "Infineon IFXMips eth0 driver"
31 +       depends on IFXMIPS
32 +       help
33 +         Support for the MII0 inside the IFXMips SOC
34 +
35  config AX88796
36         tristate "ASIX AX88796 NE2000 clone support"
37         depends on ARM || MIPS || SUPERH
38 --- a/drivers/serial/Kconfig
39 +++ b/drivers/serial/Kconfig
40 @@ -1327,6 +1327,14 @@
41           Currently, only 8250 compatible ports are supported, but
42           others can easily be added.
43  
44 +config SERIAL_IFXMIPS
45 +       bool "IFXMips serial driver"
46 +       depends on IFXMIPS
47 +       select SERIAL_CORE
48 +       select SERIAL_CORE_CONSOLE
49 +       help
50 +         Driver for the ifxmipss built in ASC hardware
51 +
52  config SERIAL_QE
53         tristate "Freescale QUICC Engine serial port support"
54         depends on QUICC_ENGINE
55 --- a/drivers/serial/Makefile
56 +++ b/drivers/serial/Makefile
57 @@ -66,4 +66,5 @@
58  obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
59  obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
60  obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
61 +obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips_asc.o
62  obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
63 --- a/drivers/watchdog/Makefile
64 +++ b/drivers/watchdog/Makefile
65 @@ -96,6 +96,7 @@
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 @@ -254,3 +254,4 @@
76  obj-$(CONFIG_NETXEN_NIC) += netxen/
77  obj-$(CONFIG_NIU) += niu.o
78  obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
79 +obj-$(CONFIG_IFXMIPS_MII0) += ifxmips_mii0.o