Skip to content

Commit ad61903

Browse files
Justin Laikuba-moo
authored andcommitted
realtek: Update the Makefile and Kconfig in the realtek folder
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>
1 parent 14cb81d commit ad61903

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

drivers/net/ethernet/realtek/Kconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,23 @@ config R8169_LEDS
120120
Optional support for controlling the NIC LED's with the netdev
121121
LED trigger.
122122

123+
config RTASE
124+
tristate "Realtek Automotive Switch 9054/9068/9072/9075/9068/9071 PCIe Interface support"
125+
depends on PCI
126+
select CRC32
127+
select PAGE_POOL
128+
help
129+
Say Y here and it will be compiled and linked with the kernel
130+
if you have a Realtek Ethernet adapter belonging to the
131+
following families:
132+
RTL9054 5GBit Ethernet
133+
RTL9068 5GBit Ethernet
134+
RTL9072 5GBit Ethernet
135+
RTL9075 5GBit Ethernet
136+
RTL9068 5GBit Ethernet
137+
RTL9071 5GBit Ethernet
138+
139+
To compile this driver as a module, choose M here: the module
140+
will be called rtase. This is recommended.
141+
123142
endif # NET_VENDOR_REALTEK

drivers/net/ethernet/realtek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ obj-$(CONFIG_ATP) += atp.o
99
r8169-y += r8169_main.o r8169_firmware.o r8169_phy_config.o
1010
r8169-$(CONFIG_R8169_LEDS) += r8169_leds.o
1111
obj-$(CONFIG_R8169) += r8169.o
12+
obj-$(CONFIG_RTASE) += rtase/

0 commit comments

Comments
 (0)