summaryrefslogtreecommitdiff
path: root/target/linux/ramips/files/drivers/net
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-21 09:44:30 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-21 09:44:30 +0000
commit5e6bc97d0ccd3fbf82e03896f8d5987f534ce19e (patch)
treefb3f487959db88f9e24ad5d38b1b8ecb5f164c16 /target/linux/ramips/files/drivers/net
parent3ba0f4e1ca40c276117e1cacb27514d171f57812 (diff)
downloadmtk-20170518-5e6bc97d0ccd3fbf82e03896f8d5987f534ce19e.zip
mtk-20170518-5e6bc97d0ccd3fbf82e03896f8d5987f534ce19e.tar.gz
mtk-20170518-5e6bc97d0ccd3fbf82e03896f8d5987f534ce19e.tar.bz2
ramips: raeth: add missing Kconfig and Makefile
SVN-Revision: 30671
Diffstat (limited to 'target/linux/ramips/files/drivers/net')
-rw-r--r--target/linux/ramips/files/drivers/net/ethernet/ramips/Kconfig13
-rw-r--r--target/linux/ramips/files/drivers/net/ethernet/ramips/Makefile5
2 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ramips/files/drivers/net/ethernet/ramips/Kconfig b/target/linux/ramips/files/drivers/net/ethernet/ramips/Kconfig
new file mode 100644
index 0000000..08d7ad1
--- /dev/null
+++ b/target/linux/ramips/files/drivers/net/ethernet/ramips/Kconfig
@@ -0,0 +1,13 @@
+config NET_RAMIPS
+ tristate "Ralink RT288X/RT3X5X/RT3662/RT3883 ethernet driver"
+ depends on MIPS_RALINK
+ select PHYLIB if (SOC_RT288X || SOC_RT3883)
+ help
+ This driver supports the etehrnet mac inside the ralink wisocs
+
+if NET_RAMIPS
+
+config NET_RAMIPS_DEBUG
+ bool "Enable debug messages in the Ralink ethernet driver"
+
+endif
diff --git a/target/linux/ramips/files/drivers/net/ethernet/ramips/Makefile b/target/linux/ramips/files/drivers/net/ethernet/ramips/Makefile
new file mode 100644
index 0000000..db4a58f
--- /dev/null
+++ b/target/linux/ramips/files/drivers/net/ethernet/ramips/Makefile
@@ -0,0 +1,5 @@
+#
+# Makefile for the Ramips SoCs built-in ethernet macs
+#
+
+obj-$(CONFIG_NET_RAMIPS) += ramips.o