This patch adds support for the SYS TEC USB-SPEmodule1 10Base-T1L
ethernet device to the existing smsc95xx driver by adding the new
USB VID/PID pair.
Signed-off-by: Andre Werner <[email protected]>
---
drivers/net/usb/smsc95xx.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c
index a530f20ee257..bb4e62a93d96 100644
--- a/drivers/net/usb/smsc95xx.c
+++ b/drivers/net/usb/smsc95xx.c
@@ -2109,6 +2109,11 @@ static const struct usb_device_id products[] = {
USB_DEVICE(0x184F, 0x0051),
.driver_info = (unsigned long)&smsc95xx_info,
},
+ {
+ /* SYSTEC USB-SPEmodule1 10BASE-T1L Ethernet Device */
+ USB_DEVICE(0x0878, 0x1400),
+ .driver_info = (unsigned long)&smsc95xx_info,
+ },
{ }, /* END */
};
MODULE_DEVICE_TABLE(usb, products);
--
2.43.0
Hi Andre,
Am Mittwoch, 14. Februar 2024, 14:25:07 CET schrieb Andre Werner:
> This patch adds support for the SYS TEC USB-SPEmodule1 10Base-T1L
> ethernet device to the existing smsc95xx driver by adding the new
> USB VID/PID pair.
>
> Signed-off-by: Andre Werner <[email protected]>
> ---
> drivers/net/usb/smsc95xx.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c
> index a530f20ee257..bb4e62a93d96 100644
> --- a/drivers/net/usb/smsc95xx.c
> +++ b/drivers/net/usb/smsc95xx.c
> @@ -2109,6 +2109,11 @@ static const struct usb_device_id products[] = {
> USB_DEVICE(0x184F, 0x0051),
> .driver_info = (unsigned long)&smsc95xx_info,
> },
> + {
> + /* SYSTEC USB-SPEmodule1 10BASE-T1L Ethernet Device */
> + USB_DEVICE(0x0878, 0x1400),
> + .driver_info = (unsigned long)&smsc95xx_info,
> + },
IMHO entries should be sorted by USB Vendor ID. So this goes before
Microchip's EVB-LAN8670-USB.
Best regards,
Alexander
> { }, /* END */
> };
> MODULE_DEVICE_TABLE(usb, products);
--
TQ-Systems GmbH | M?hlstra?e 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht M?nchen, HRB 105018
Gesch?ftsf?hrer: Detlef Schneider, R?diger Stahl, Stefan Schneider
http://www.tq-group.com/