firmware/br-ext-chip-goke/board/gk7205v200/kernel/patches/00_drivers-net-ethernet-gok...

36 lines
1.2 KiB
Diff

--- linux-4.9.37/drivers/net/ethernet/goke/Kconfig 1970-01-01 03:00:00.000000000 +0300
+++ linux-4.9.y/drivers/net/ethernet/goke/Kconfig 2021-06-07 13:01:33.000000000 +0300
@@ -0,0 +1,32 @@
+#
+# Goke device configuration
+#
+
+config NET_VENDOR_GOKE
+ bool "Goke devices"
+ default y
+ depends on (OF || ACPI) && HAS_DMA
+ depends on ARM || ARM64 || COMPILE_TEST
+ ---help---
+ If you have a network (Ethernet) card belonging to this class, say Y.
+
+ Note that the answer to this question doesn't directly affect the
+ kernel: saying N will just cause the configurator to skip all
+ the questions about Goke devices. If you say Y, you will be asked
+ for your specific card in the following questions.
+
+if NET_VENDOR_GOKE
+
+config GOKE_FEMAC
+ tristate "Goke Fast Ethernet MAC device support"
+ depends on HAS_IOMEM
+ select PHYLIB
+ select RESET_CONTROLLER
+ help
+ This selects the Goke Fast Ethernet MAC device(FEMAC).
+ The FEMAC receives and transmits data over Ethernet
+ ports at 10/100 Mbps in full-duplex or half-duplex mode.
+ The FEMAC exchanges data with the CPU, and supports
+ the energy efficient Ethernet (EEE).
+
+endif # NET_VENDOR_GOKE