git: d87841fd9ad6 - main - usb: Disentangle SMC and SMSC

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 25 Nov 2026 17:39:01 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=d87841fd9ad646568ca0b068cc0281b339b05cca

commit d87841fd9ad646568ca0b068cc0281b339b05cca
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-05-05 17:42:38 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-11-25 17:38:49 +0000

    usb: Disentangle SMC and SMSC
    
    In the 1990s Standard Microsystems Corporation used the name SMC and
    produced complete NICs like the SMC EtherEZ 8416BTA.  It appears this
    part of the business became SMC Networks and was later acquired by
    Accton Technology.
    
    By the early 2000s Standard Microsystems Corporation sold network ICs
    (not complete NICs) and exclusively used the short name SMSC.  SMSC was
    acquired by Microchip in 2012.
    
    We originally obtained usbdevs from NetBSD, and this update matches the
    SMC / SMSC IDs currently in NetBSD.
    
    Reviewed by:    bz, adrian
    Differential Revision: https://reviews.freebsd.org/D61724
---
 sys/dev/usb/net/if_muge.c |  2 +-
 sys/dev/usb/net/if_smsc.c |  2 +-
 sys/dev/usb/usbdevs       | 56 ++++++++++++++++++++++++-----------------------
 3 files changed, 31 insertions(+), 29 deletions(-)

diff --git a/sys/dev/usb/net/if_muge.c b/sys/dev/usb/net/if_muge.c
index 56ffa0c67d9a..f3de445a4bd7 100644
--- a/sys/dev/usb/net/if_muge.c
+++ b/sys/dev/usb/net/if_muge.c
@@ -126,7 +126,7 @@ SYSCTL_INT(_hw_usb_muge, OID_AUTO, debug, CTLFLAG_RWTUN, &muge_debug, 0,
 
 /* Supported Vendor and Product IDs. */
 static const struct usb_device_id lan78xx_devs[] = {
-#define MUGE_DEV(p,i) { USB_VPI(USB_VENDOR_SMC2, USB_PRODUCT_SMC2_##p, i) }
+#define MUGE_DEV(p,i) { USB_VPI(USB_VENDOR_SMSC, USB_PRODUCT_SMSC_##p, i) }
 	MUGE_DEV(LAN7800_ETH, 0),
 	MUGE_DEV(LAN7801_ETH, 0),
 	MUGE_DEV(LAN7850_ETH, 0),
diff --git a/sys/dev/usb/net/if_smsc.c b/sys/dev/usb/net/if_smsc.c
index 102e744047c0..5294a9b69038 100644
--- a/sys/dev/usb/net/if_smsc.c
+++ b/sys/dev/usb/net/if_smsc.c
@@ -137,7 +137,7 @@ SYSCTL_INT(_hw_usb_smsc, OID_AUTO, debug, CTLFLAG_RWTUN, &smsc_debug, 0,
  * Various supported device vendors/products.
  */
 static const struct usb_device_id smsc_devs[] = {
-#define	SMSC_DEV(p,i) { USB_VPI(USB_VENDOR_SMC2, USB_PRODUCT_SMC2_##p, i) }
+#define	SMSC_DEV(p,i) { USB_VPI(USB_VENDOR_SMSC, USB_PRODUCT_SMSC_##p, i) }
 	SMSC_DEV(LAN89530_ETH, 0),
 	SMSC_DEV(LAN9500_ETH, 0),
 	SMSC_DEV(LAN9500_ETH_2, 0),
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index bada11b4812e..3caa18826f39 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -102,7 +102,7 @@ vendor CREATIVE		0x041e	Creative Labs
 vendor NOKIA		0x0421	Nokia
 vendor ADI		0x0422	ADI Systems
 vendor CATC		0x0423	Computer Access Technology
-vendor SMC2		0x0424	Microchip Technology
+vendor SMSC		0x0424	Microchip Technology (formerly SMSC)
 vendor MOTOROLA_HK	0x0425	Motorola HK
 vendor GRAVIS		0x0428	Advanced Gravis Computer
 vendor CIRRUSLOGIC	0x0429	Cirrus Logic
@@ -4615,37 +4615,39 @@ product SMART2 G2MEMKEY		0x1700	G2 Memory Key
 product SMARTBRIDGES SMARTLINK	0x0001	SmartLink USB Ethernet
 product SMARTBRIDGES SMARTNIC	0x0003	smartNIC 2 PnP Ethernet
 
-/* Microchip Technology (formerly SMC) products */
+/* SMC products */
 product SMC 2102USB		0x0100	10Mbps Ethernet
 product SMC 2202USB		0x0200	10/100 Ethernet
 product SMC 2206USB		0x0201	EZ Connect USB Ethernet
 product SMC 2862WG		0xee13	EZ Connect Wireless Adapter
-product SMC2 2020HUB		0x2020	USB Hub
-product SMC2 2513HUB		0x2513	USB Hub
-product SMC2 2514HUB		0x2514	USB Hub
-product SMC2 2517HUB		0x2517	USB Hub
 product SMC3 2662WUSB		0xa002	2662W-AR Wireless
-product SMC2 LAN7800_ETH	0x7800	USB/Ethernet
-product SMC2 LAN7801_ETH	0x7801	USB/Ethernet
-product SMC2 LAN7850_ETH	0x7850	USB/Ethernet
-product SMC2 LAN9500_ETH	0x9500	USB/Ethernet
-product SMC2 LAN9505_ETH	0x9505	USB/Ethernet
-product SMC2 LAN9530_ETH	0x9530	USB/Ethernet
-product SMC2 LAN9730_ETH	0x9730	USB/Ethernet
-product SMC2 LAN9500_SAL10	0x9900	USB/Ethernet
-product SMC2 LAN9505_SAL10	0x9901	USB/Ethernet
-product SMC2 LAN9500A_SAL10	0x9902	USB/Ethernet
-product SMC2 LAN9505A_SAL10	0x9903	USB/Ethernet
-product SMC2 LAN9514_SAL10	0x9904	USB/Ethernet
-product SMC2 LAN9500A_HAL	0x9905	USB/Ethernet
-product SMC2 LAN9505A_HAL	0x9906	USB/Ethernet
-product SMC2 LAN9500_ETH_2	0x9907	USB/Ethernet
-product SMC2 LAN9500A_ETH_2	0x9908	USB/Ethernet
-product SMC2 LAN9514_ETH_2	0x9909	USB/Ethernet
-product SMC2 LAN9500A_ETH	0x9e00	USB/Ethernet
-product SMC2 LAN9505A_ETH	0x9e01	USB/Ethernet
-product SMC2 LAN89530_ETH	0x9e08	USB/Ethernet
-product SMC2 LAN9514_ETH	0xec00	USB/Ethernet
+
+/* Microchip Technology (formerly SMSC) products */
+product SMSC 2020HUB		0x2020	USB Hub
+product SMSC 2513HUB		0x2513	USB Hub
+product SMSC 2514HUB		0x2514	USB Hub
+product SMSC 2517HUB		0x2517	USB Hub
+product SMSC LAN7800_ETH	0x7800	USB/Ethernet
+product SMSC LAN7801_ETH	0x7801	USB/Ethernet
+product SMSC LAN7850_ETH	0x7850	USB/Ethernet
+product SMSC LAN9500_ETH	0x9500	USB/Ethernet
+product SMSC LAN9505_ETH	0x9505	USB/Ethernet
+product SMSC LAN9530_ETH	0x9530	USB/Ethernet
+product SMSC LAN9730_ETH	0x9730	USB/Ethernet
+product SMSC LAN9500_SAL10	0x9900	USB/Ethernet
+product SMSC LAN9505_SAL10	0x9901	USB/Ethernet
+product SMSC LAN9500A_SAL10	0x9902	USB/Ethernet
+product SMSC LAN9505A_SAL10	0x9903	USB/Ethernet
+product SMSC LAN9514_SAL10	0x9904	USB/Ethernet
+product SMSC LAN9500A_HAL	0x9905	USB/Ethernet
+product SMSC LAN9505A_HAL	0x9906	USB/Ethernet
+product SMSC LAN9500_ETH_2	0x9907	USB/Ethernet
+product SMSC LAN9500A_ETH_2	0x9908	USB/Ethernet
+product SMSC LAN9514_ETH_2	0x9909	USB/Ethernet
+product SMSC LAN9500A_ETH	0x9e00	USB/Ethernet
+product SMSC LAN9505A_ETH	0x9e01	USB/Ethernet
+product SMSC LAN89530_ETH	0x9e08	USB/Ethernet
+product SMSC LAN9514_ETH	0xec00	USB/Ethernet
 
 /* SOHOware products */
 product SOHOWARE NUB100		0x9100	10/100 USB Ethernet