git: a2838e818cfe - main - ehci(4): Add ID for Realtek RTL811x USB 2.0 controller

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Mon, 20 Oct 2025 14:06:11 UTC
The branch main has been updated by mav:

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

commit a2838e818cfe5b150725776cc9ab45bb8f65c390
Author:     Dmitry Luhtionov <dmitryluhtionov@gmail.com>
AuthorDate: 2025-10-20 14:05:05 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2025-10-20 14:05:05 +0000

    ehci(4): Add ID for Realtek RTL811x USB 2.0 controller
---
 sys/dev/usb/controller/ehci_pci.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sys/dev/usb/controller/ehci_pci.c b/sys/dev/usb/controller/ehci_pci.c
index d7298ab89df7..9550002e3b70 100644
--- a/sys/dev/usb/controller/ehci_pci.c
+++ b/sys/dev/usb/controller/ehci_pci.c
@@ -88,6 +88,7 @@
 #define	PCI_EHCI_VENDORID_NEC		0x1033
 #define	PCI_EHCI_VENDORID_OPTI		0x1045
 #define	PCI_EHCI_VENDORID_PHILIPS	0x1131
+#define	PCI_EHCI_VENDORID_REALTEK	0x10ec
 #define	PCI_EHCI_VENDORID_SIS		0x1039
 #define	PCI_EHCI_VENDORID_NVIDIA	0x12D2
 #define	PCI_EHCI_VENDORID_NVIDIA2	0x10DE
@@ -218,6 +219,9 @@ ehci_pci_match(device_t self)
 	case 0x15621131:
 		return "Philips ISP156x USB 2.0 controller";
 
+	case 0x816d10ec:
+		return ("Realtek RTL811x USB 2.0 controller");
+
 	case 0x70021039:
 		return "SiS 968 USB 2.0 controller";
 
@@ -402,6 +406,9 @@ ehci_pci_attach(device_t self)
 	case PCI_EHCI_VENDORID_PHILIPS:
 		sprintf(sc->sc_vendor, "Philips");
 		break;
+	case PCI_EHCI_VENDORID_REALTEK:
+		sprintf(sc->sc_vendor, "Realtek");
+		break;
 	case PCI_EHCI_VENDORID_SIS:
 		sprintf(sc->sc_vendor, "SiS");
 		break;