lkml.org 
[lkml]   [2024]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH net-next v17 12/13] realtek: Update the Makefile and Kconfig in the realtek folder
    Date
    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>
    ---
    drivers/net/ethernet/realtek/Kconfig | 17 +++++++++++++++++
    drivers/net/ethernet/realtek/Makefile | 1 +
    2 files changed, 18 insertions(+)

    diff --git a/drivers/net/ethernet/realtek/Kconfig b/drivers/net/ethernet/realtek/Kconfig
    index 93d9df55b361..57ef924deebd 100644
    --- a/drivers/net/ethernet/realtek/Kconfig
    +++ b/drivers/net/ethernet/realtek/Kconfig
    @@ -113,4 +113,21 @@ config R8169
    To compile this driver as a module, choose M here: the module
    will be called r8169. This is recommended.

    +config RTASE
    + tristate "Realtek Automotive Switch 9054/9068/9072/9075/9068/9071 PCIe Interface support"
    + depends on PCI
    + select CRC32
    + help
    + Say Y here 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
    diff --git a/drivers/net/ethernet/realtek/Makefile b/drivers/net/ethernet/realtek/Makefile
    index 2e1d78b106b0..0c1c16f63e9a 100644
    --- a/drivers/net/ethernet/realtek/Makefile
    +++ b/drivers/net/ethernet/realtek/Makefile
    @@ -8,3 +8,4 @@ obj-$(CONFIG_8139TOO) += 8139too.o
    obj-$(CONFIG_ATP) += atp.o
    r8169-objs += r8169_main.o r8169_firmware.o r8169_phy_config.o
    obj-$(CONFIG_R8169) += r8169.o
    +obj-$(CONFIG_RTASE) += rtase/
    --
    2.34.1

    \
     
     \ /
      Last update: 2024-05-02 11:25    [W:3.229 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site