1 --- a/drivers/net/Kconfig
2 +++ b/drivers/net/Kconfig
3 @@ -277,6 +277,17 @@ source "drivers/net/plip/Kconfig"
5 source "drivers/net/ppp/Kconfig"
7 +config MIPS_RAMIPS_NET
8 + tristate "Ethernet driver for rt288x/rt305x"
9 + depends on MIPS_RALINK
10 + select PHYLIB if (SOC_RT288X || SOC_RT3883)
12 + This driver supports the etehrnet mac inside the ralink wisocs
14 +config RAMIPS_ETH_DEBUG
15 + bool "Enable debug messages in the Ralink ethernet driver"
16 + depends on MIPS_RAMIPS_NET
18 source "drivers/net/slip/Kconfig"
20 source "drivers/s390/net/Kconfig"
21 --- a/drivers/net/Makefile
22 +++ b/drivers/net/Makefile
23 @@ -44,6 +44,7 @@ obj-$(CONFIG_PPP_SYNC_TTY) += ppp/
24 obj-$(CONFIG_PPPOE) += ppp/
25 obj-$(CONFIG_PPPOL2TP) += ppp/
26 obj-$(CONFIG_PPTP) += ppp/
27 +obj-$(CONFIG_MIPS_RAMIPS_NET) += ramips.o
28 obj-$(CONFIG_SLIP) += slip/
29 obj-$(CONFIG_SLHC) += slip/
30 obj-$(CONFIG_NET_SB1000) += sb1000.o