2021-05-05 00:32:27 +00:00
|
|
|
--- a/drivers/net/ethernet/Kconfig
|
|
|
|
+++ b/drivers/net/ethernet/Kconfig
|
2021-05-05 05:02:49 +00:00
|
|
|
@@ -162,6 +162,13 @@ source "drivers/net/ethernet/rdc/Kconfig
|
2021-05-05 00:32:27 +00:00
|
|
|
source "drivers/net/ethernet/realtek/Kconfig"
|
|
|
|
source "drivers/net/ethernet/renesas/Kconfig"
|
|
|
|
source "drivers/net/ethernet/rocker/Kconfig"
|
|
|
|
+
|
|
|
|
+config NET_RTL838X
|
|
|
|
+ tristate "Realtek rtl838x Ethernet MAC support"
|
|
|
|
+ depends on RTL838X
|
2021-05-05 05:18:43 +00:00
|
|
|
+ help
|
2021-05-05 00:32:27 +00:00
|
|
|
+ Say Y here if you want to use the Realtek rtl838x Gbps Ethernet MAC.
|
|
|
|
+
|
|
|
|
source "drivers/net/ethernet/samsung/Kconfig"
|
|
|
|
source "drivers/net/ethernet/seeq/Kconfig"
|
|
|
|
source "drivers/net/ethernet/sfc/Kconfig"
|
|
|
|
--- a/drivers/net/ethernet/Makefile
|
|
|
|
+++ b/drivers/net/ethernet/Makefile
|
2021-05-05 05:02:49 +00:00
|
|
|
@@ -75,6 +75,7 @@ obj-$(CONFIG_NET_VENDOR_REALTEK) += real
|
2021-05-05 00:32:27 +00:00
|
|
|
obj-$(CONFIG_NET_VENDOR_RENESAS) += renesas/
|
|
|
|
obj-$(CONFIG_NET_VENDOR_RDC) += rdc/
|
|
|
|
obj-$(CONFIG_NET_VENDOR_ROCKER) += rocker/
|
|
|
|
+obj-$(CONFIG_NET_RTL838X) += rtl838x_eth.o
|
|
|
|
obj-$(CONFIG_NET_VENDOR_SAMSUNG) += samsung/
|
|
|
|
obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/
|
|
|
|
obj-$(CONFIG_NET_VENDOR_SILAN) += silan/
|