From: Gabor Juhos <j4g8y7@gmail.com>
To: Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de, Gabor Juhos <j4g8y7@gmail.com>
Subject: [PATCH] net: usb: r8152: add device id of Linksys USB3GIGV1
Date: Mon, 31 Mar 2025 17:06:32 +0200 [thread overview]
Message-ID: <20250331-usb3gigv1-v1-1-04374174fab9@gmail.com> (raw)
The Linksys USB3GIGV1 device is a USB 3.0 Wired Gigabit Adapter
supporting 10/100/1000 Mbits/sec transfer rates. It is based on
RTL8153 and it works correctly with the r8152 driver:
uDPU>> usb start
starting USB...
Bus usb@58000: Register 2000104 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@58000 for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
uDPU>> usb info 1
config for device 1
2: Vendor specific, USB Revision 2.10
- Linksys Linksys USB3GIGV1 000001000000
- Class: (from Interface) Vendor specific
- PacketSize: 64 Configurations: 2
- Vendor: 0x13b1 Product 0x0041 Version 48.0
Configuration: 1
- Interfaces: 1 Bus Powered Remote Wakeup 180mA
Interface: 0
- Alternate Setting 0, Endpoints: 3
- Class Vendor specific
- Endpoint 1 In Bulk MaxPacket 512
- Endpoint 2 Out Bulk MaxPacket 512
- Endpoint 3 In Interrupt MaxPacket 2 Interval 8ms
uDPU>> dm tree usb@58000
Class Seq Probed Driver Name
-----------------------------------------------------------
usb 0 [ + ] xhci_mvebu usb@58000
usb_hub 0 [ + ] usb_hub `-- usb_hub
ethernet 2 [ + ] r8152_eth `-- r8152_eth
bootdev 3 [ ] eth_bootdev `-- r8152_eth.bootdev
uDPU>> setenv ethact r8152_eth
uDPU>> setenv serverip 192.168.1.253
uDPU>> setenv ipaddr 192.168.1.1
uDPU>> ping 192.168.1.253
Using r8152_eth device
host 192.168.1.253 is alive
uDPU>> tftpboot 0x10000000 random.bin
Using r8152_eth device
TFTP from server 192.168.1.253; our IP address is 192.168.1.1
Filename 'random.bin'.
Load address: 0x10000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
####################################################
6.3 MiB/s
done
Bytes transferred = 8388608 (800000 hex)
uDPU>>
Add the USB id of the device to the driver to allow using it
from U-Boot.
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
---
Note: checkpatch.pl shows the following warnings:
WARNING: Possible repeated word: 'Linksys'
- Linksys Linksys USB3GIGV1 000001000000
WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line)
bootdev 3 [ ] eth_bootdev `-- r8152_eth.bootdev
total: 0 errors, 2 warnings, 0 checks, 9 lines checked
Since both warnings are related to actual lines from an U-Boot console log,
I have ignored those.
---
drivers/usb/eth/r8152.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/eth/r8152.c b/drivers/usb/eth/r8152.c
index e3f20e08c33cac4f8520dc670d22a1be6f3f10e7..d8f41dd1eb51cbf09c7da124ca8350e431c2b7fb 100644
--- a/drivers/usb/eth/r8152.c
+++ b/drivers/usb/eth/r8152.c
@@ -1599,6 +1599,9 @@ static const struct usb_device_id r8152_eth_id_table[] = {
/* Samsung */
{ USB_DEVICE(0x04e8, 0xa101) },
+ /* Linksys */
+ { USB_DEVICE(0x13b1, 0x0041) }, /* USB3GIGV1 */
+
/* Lenovo */
{ USB_DEVICE(0x17ef, 0x304f) },
{ USB_DEVICE(0x17ef, 0x3052) },
---
base-commit: 3d8be1f5ec30180748259a251efe4f63c8b4b329
change-id: 20250331-usb3gigv1-5061f609abc0
Best regards,
--
Gabor Juhos <j4g8y7@gmail.com>
next reply other threads:[~2025-03-31 17:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-31 15:06 Gabor Juhos [this message]
2025-04-10 17:57 ` [PATCH] net: usb: r8152: add device id of Linksys USB3GIGV1 Marek Vasut
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=20250331-usb3gigv1-v1-1-04374174fab9@gmail.com \
--to=j4g8y7@gmail.com \
--cc=marex@denx.de \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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