summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ehci_pci.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-12-17 17:15:41 +0000
committerpeter <peter@FreeBSD.org>2003-12-17 17:15:41 +0000
commit82fdf7ce2740170c53b698a5c7a42030aa1e8d29 (patch)
tree98a303a6bd69615bfd4421772537aa10d539262c /sys/dev/usb/ehci_pci.c
parentc1eca53dae9d026b671d31b3a0af66576abeec99 (diff)
downloadFreeBSD-src-82fdf7ce2740170c53b698a5c7a42030aa1e8d29.zip
FreeBSD-src-82fdf7ce2740170c53b698a5c7a42030aa1e8d29.tar.gz
Recognize the nVidia ehci device id's in addition to the rest.
Diffstat (limited to 'sys/dev/usb/ehci_pci.c')
-rw-r--r--sys/dev/usb/ehci_pci.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/usb/ehci_pci.c b/sys/dev/usb/ehci_pci.c
index 00b2206..37142c9 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",
OpenPOWER on IntegriCloud