From: Justin Lai <justinlai0215@realtek.com>
To: <kuba@kernel.org>
Cc: <davem@davemloft.net>, <edumazet@google.com>, <pabeni@redhat.com>,
<andrew+netdev@lunn.ch>, <linux-kernel@vger.kernel.org>,
<netdev@vger.kernel.org>, <horms@kernel.org>,
<pkshih@realtek.com>, <larry.chiu@realtek.com>,
Justin Lai <justinlai0215@realtek.com>
Subject: [PATCH net 3/4] rtase: Add support for RTL907XD-VA PCIe port
Date: Thu, 14 Nov 2024 19:14:42 +0800 [thread overview]
Message-ID: <20241114111443.375649-4-justinlai0215@realtek.com> (raw)
In-Reply-To: <20241114111443.375649-1-justinlai0215@realtek.com>
1. Add RTL907XD-VA hardware version id.
2. Add the reported speed for RTL907XD-VA.
Signed-off-by: Justin Lai <justinlai0215@realtek.com>
---
drivers/net/ethernet/realtek/rtase/rtase_main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/realtek/rtase/rtase_main.c b/drivers/net/ethernet/realtek/rtase/rtase_main.c
index 10697e4055b6..958b1543c4af 100644
--- a/drivers/net/ethernet/realtek/rtase/rtase_main.c
+++ b/drivers/net/ethernet/realtek/rtase/rtase_main.c
@@ -1725,6 +1725,7 @@ static int rtase_get_settings(struct net_device *dev,
cmd->base.speed = SPEED_5000;
break;
case 0x04800000:
+ case 0x08000000:
cmd->base.speed = SPEED_10000;
break;
}
@@ -1993,6 +1994,7 @@ static int rtase_check_mac_version_valid(struct rtase_private *tp)
case 0x00800000:
case 0x04000000:
case 0x04800000:
+ case 0x08000000:
ret = 0;
break;
}
--
2.34.1
next prev parent reply other threads:[~2024-11-14 11:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 11:14 [PATCH net 0/4] Updating and correcting switch hardware versions and reported speeds Justin Lai
2024-11-14 11:14 ` [PATCH net 1/4] rtase: Refactor the rtase_check_mac_version_valid() function Justin Lai
2024-11-14 15:38 ` Andrew Lunn
2024-11-15 5:57 ` Justin Lai
2024-11-14 15:40 ` Andrew Lunn
2024-11-15 6:32 ` Justin Lai
2024-11-14 11:14 ` [PATCH net 2/4] rtase: Correct the speed for RTL907XD-V1 Justin Lai
2024-11-14 11:14 ` Justin Lai [this message]
2024-11-14 11:14 ` [PATCH net 4/4] rtase: Corrects error handling of the rtase_check_mac_version_valid() Justin Lai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241114111443.375649-4-justinlai0215@realtek.com \
--to=justinlai0215@realtek.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=larry.chiu@realtek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pkshih@realtek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®