ramips: add initial support for 3.2
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / patches-3.2 / 103-ethernet.patch
1 --- a/drivers/net/Kconfig
2 +++ b/drivers/net/Kconfig
3 @@ -277,6 +277,16 @@ source "drivers/net/plip/Kconfig"
4
5 source "drivers/net/ppp/Kconfig"
6
7 +config MIPS_RAMIPS_NET
8 + tristate "Ethernet driver for rt288x/rt305x"
9 + depends on MIPS_RALINK
10 + help
11 + This driver supports the etehrnet mac inside the ralink wisocs
12 +
13 +config RAMIPS_ETH_DEBUG
14 + bool "Enable debug messages in the Ralink ethernet driver"
15 + depends on MIPS_RAMIPS_NET
16 +
17 source "drivers/net/slip/Kconfig"
18
19 source "drivers/s390/net/Kconfig"
20 --- a/drivers/net/Makefile
21 +++ b/drivers/net/Makefile
22 @@ -44,6 +44,7 @@ obj-$(CONFIG_PPP_SYNC_TTY) += ppp/
23 obj-$(CONFIG_PPPOE) += ppp/
24 obj-$(CONFIG_PPPOL2TP) += ppp/
25 obj-$(CONFIG_PPTP) += ppp/
26 +obj-$(CONFIG_MIPS_RAMIPS_NET) += ramips.o
27 obj-$(CONFIG_SLIP) += slip/
28 obj-$(CONFIG_SLHC) += slip/
29 obj-$(CONFIG_NET_SB1000) += sb1000.o