]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
realtek: Update the Makefile and Kconfig in the realtek folder
authorJustin Lai <justinlai0215@realtek.com>
Wed, 4 Sep 2024 03:21:13 +0000 (11:21 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Sep 2024 05:02:39 +0000 (22:02 -0700)
1. Add the RTASE entry in the Kconfig.
2. Add the CONFIG_RTASE entry in the Makefile.

Signed-off-by: Justin Lai <justinlai0215@realtek.com>
Link: https://patch.msgid.link/20240904032114.247117-13-justinlai0215@realtek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/Kconfig
drivers/net/ethernet/realtek/Makefile

index 03015b665f4ea537f5297ec407dbdb7df4304155..8a8ea51c639e9c6cf19381b725739dcdb2c740d5 100644 (file)
@@ -120,4 +120,23 @@ config R8169_LEDS
          Optional support for controlling the NIC LED's with the netdev
          LED trigger.
 
+config RTASE
+       tristate "Realtek Automotive Switch 9054/9068/9072/9075/9068/9071 PCIe Interface support"
+       depends on PCI
+       select CRC32
+       select PAGE_POOL
+       help
+         Say Y here and it will be compiled and linked with the kernel
+         if you have a Realtek Ethernet adapter belonging to the
+         following families:
+         RTL9054 5GBit Ethernet
+         RTL9068 5GBit Ethernet
+         RTL9072 5GBit Ethernet
+         RTL9075 5GBit Ethernet
+         RTL9068 5GBit Ethernet
+         RTL9071 5GBit Ethernet
+
+         To compile this driver as a module, choose M here: the module
+         will be called rtase. This is recommended.
+
 endif # NET_VENDOR_REALTEK
index 635491d8826e5661292a0735dd5d02e1fdf07f94..046adf503ff492e04a0e0aaff314ed9c82f303ae 100644 (file)
@@ -9,3 +9,4 @@ obj-$(CONFIG_ATP) += atp.o
 r8169-y += r8169_main.o r8169_firmware.o r8169_phy_config.o
 r8169-$(CONFIG_R8169_LEDS) += r8169_leds.o
 obj-$(CONFIG_R8169) += r8169.o
+obj-$(CONFIG_RTASE) += rtase/