summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-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