1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-07 22:39:42 +02:00
openwrt-xburst/target/linux/ramips/patches-3.2/103-ethernet.patch
juhosg d214321c8c ramips: raeth: add PHYLIB support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 06:47:12 +00:00

31 lines
887 B
Diff

--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -277,6 +277,17 @@ source "drivers/net/plip/Kconfig"
source "drivers/net/ppp/Kconfig"
+config MIPS_RAMIPS_NET
+ tristate "Ethernet driver for rt288x/rt305x"
+ depends on MIPS_RALINK
+ select PHYLIB if (SOC_RT288X || SOC_RT3883)
+ help
+ This driver supports the etehrnet mac inside the ralink wisocs
+
+config RAMIPS_ETH_DEBUG
+ bool "Enable debug messages in the Ralink ethernet driver"
+ depends on MIPS_RAMIPS_NET
+
source "drivers/net/slip/Kconfig"
source "drivers/s390/net/Kconfig"
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -44,6 +44,7 @@ obj-$(CONFIG_PPP_SYNC_TTY) += ppp/
obj-$(CONFIG_PPPOE) += ppp/
obj-$(CONFIG_PPPOL2TP) += ppp/
obj-$(CONFIG_PPTP) += ppp/
+obj-$(CONFIG_MIPS_RAMIPS_NET) += ramips.o
obj-$(CONFIG_SLIP) += slip/
obj-$(CONFIG_SLHC) += slip/
obj-$(CONFIG_NET_SB1000) += sb1000.o