From f91e55b1e91f651b524f9ca1328a1adbc4a12e2c Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 17 Dec 2003 17:15:41 +0000 Subject: Recognize the nVidia ehci device id's in addition to the rest. --- sys/dev/usb/ehci_pci.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/dev/usb') diff --git a/sys/dev/usb/ehci_pci.c b/sys/dev/usb/ehci_pci.c index 00b2206dc042e..37142c9fb7293 100644 --- a/sys/dev/usb/ehci_pci.c +++ b/sys/dev/usb/ehci_pci.c @@ -83,6 +83,8 @@ __FBSDID("$FreeBSD$"); #define PCI_EHCI_VENDORID_NEC 0x1033 #define PCI_EHCI_VENDORID_OPTI 0x1045 #define PCI_EHCI_VENDORID_SIS 0x1039 +#define PCI_EHCI_VENDORID_NVIDIA 0x12D2 +#define PCI_EHCI_VENDORID_NVIDIA2 0x10DE #define PCI_EHCI_DEVICEID_NEC 0x00e01033 static const char *ehci_device_nec = "NEC uPD 720100 USB 2.0 controller"; @@ -210,6 +212,10 @@ ehci_pci_attach(device_t self) case PCI_EHCI_VENDORID_SIS: sprintf(sc->sc_vendor, "SiS"); break; + case PCI_EHCI_VENDORID_NVIDIA: + case PCI_EHCI_VENDORID_NVIDIA2: + sprintf(sc->sc_vendor, "nVidia"); + break; default: if (bootverbose) device_printf(self, "(New EHCI DeviceId=0x%08x)\n", -- cgit v1.3