summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-09-03 07:40:17 +0000
committerobrien <obrien@FreeBSD.org>2003-09-03 07:40:17 +0000
commit4f4a80884a47d4f989c474cfea633b3f0d5d08a6 (patch)
tree460bcc4a903a0ec36d35e79277d1d46ccac9c10e /sys/dev/usb
parentd3c24621a1a99676df4065c385530389d738233a (diff)
downloadFreeBSD-src-4f4a80884a47d4f989c474cfea633b3f0d5d08a6.zip
FreeBSD-src-4f4a80884a47d4f989c474cfea633b3f0d5d08a6.tar.gz
Recognize the OHCI USB device on Opteron-based nForce3 motherboards
(such as the Asus SK8N).
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/ohci_pci.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/usb/ohci_pci.c b/sys/dev/usb/ohci_pci.c
index ec116b4..51a2c23 100644
--- a/sys/dev/usb/ohci_pci.c
+++ b/sys/dev/usb/ohci_pci.c
@@ -77,6 +77,7 @@ __FBSDID("$FreeBSD$");
#define PCI_OHCI_VENDORID_APPLE 0x106b
#define PCI_OHCI_VENDORID_CMDTECH 0x1095
#define PCI_OHCI_VENDORID_NEC 0x1033
+#define PCI_OHCI_VENDORID_NVIDIA 0x12D2
#define PCI_OHCI_VENDORID_OPTI 0x1045
#define PCI_OHCI_VENDORID_SIS 0x1039
@@ -95,6 +96,9 @@ static const char *ohci_device_firelink = "OPTi 82C861 (FireLink) USB controller
#define PCI_OHCI_DEVICEID_NEC 0x00351033
static const char *ohci_device_nec = "NEC uPD 9210 USB controller";
+#define PCI_OHCI_DEVICEID_NFORCE3 0x00d710de
+static const char *ohci_device_nforce3 = "nVidia nForce3 USB Controller";
+
#define PCI_OHCI_DEVICEID_USB0670 0x06701095
static const char *ohci_device_usb0670 = "CMD Tech 670 (USB0670) USB controller";
@@ -135,6 +139,8 @@ ohci_pci_match(device_t self)
return (ohci_device_firelink);
case PCI_OHCI_DEVICEID_NEC:
return (ohci_device_nec);
+ case PCI_OHCI_DEVICEID_NFORCE3:
+ return (ohci_device_nforce3);
case PCI_OHCI_DEVICEID_SIS5571:
return (ohci_device_sis5571);
case PCI_OHCI_DEVICEID_KEYLARGO:
@@ -219,6 +225,9 @@ ohci_pci_attach(device_t self)
case PCI_OHCI_VENDORID_NEC:
sprintf(sc->sc_vendor, "NEC");
break;
+ case PCI_OHCI_VENDORID_NVIDIA:
+ sprintf(sc->sc_vendor, "nVidia");
+ break;
case PCI_OHCI_VENDORID_OPTI:
sprintf(sc->sc_vendor, "OPTi");
break;
OpenPOWER on IntegriCloud