]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rtase: Refactor the rtase_check_mac_version_valid() function
authorJustin Lai <justinlai0215@realtek.com>
Wed, 20 Nov 2024 07:56:22 +0000 (15:56 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 26 Nov 2024 09:12:58 +0000 (10:12 +0100)
commita1f8609ff1f658e410f78d800ca947d57e51996a
treeb557228065ff72ef1821b87752af892868866e63
parentebaf81317e42aa990ad20b113cfe3a7b20d4e937
rtase: Refactor the rtase_check_mac_version_valid() function

Different hardware requires different configurations, but this distinction
was not made previously. Additionally, the error message was not clear
enough. Therefore, this patch will address the issues mentioned above.

Fixes: a36e9f5cfe9e ("rtase: Add support for a pci table in this module")
Signed-off-by: Justin Lai <justinlai0215@realtek.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/realtek/rtase/rtase.h
drivers/net/ethernet/realtek/rtase/rtase_main.c