[PATCH net v5 0/3] Correcting switch hardware versions and reported speeds

From: Justin Lai
Date: Wed Nov 20 2024 - 02:57:21 EST


This patch set mainly involves correcting switch hardware versions and
reported speeds.
Details are as follows:
1. Refactor the rtase_check_mac_version_valid() function.
2. Correct the speed for RTL907XD-V1
3. Corrects error handling of the rtase_check_mac_version_valid()

v1 -> v2:
- Add Fixes: tag.
- Add defines for hardware version id.
- Modify the error message for an invalid hardware version ID.

v2 -> v3:
- Remove the patch "Add support for RTL907XD-VA PCIe port".

v3 -> v4:
- Modify commit message to describe the main reason for the fix.

v4 -> v5
- Integrate the addition of defines for hardware version ID into the patch
"rtase: Refactor the rtase_check_mac_version_valid() function."

Justin Lai (3):
rtase: Refactor the rtase_check_mac_version_valid() function
rtase: Correct the speed for RTL907XD-V1
rtase: Corrects error handling of the rtase_check_mac_version_valid()

drivers/net/ethernet/realtek/rtase/rtase.h | 7 ++-
.../net/ethernet/realtek/rtase/rtase_main.c | 43 +++++++++++++------
2 files changed, 36 insertions(+), 14 deletions(-)

--
2.34.1