Recognize the OHCI USB device on Opteron-based nForce3 motherboards

(such as the Asus SK8N).
This commit is contained in:
obrien 2003-09-03 07:40:17 +00:00
parent 01a19d2f6e
commit cb8bba9861

View File

@ -77,6 +77,7 @@ __FBSDID("$FreeBSD$");
#define PCI_OHCI_VENDORID_APPLE 0x106b #define PCI_OHCI_VENDORID_APPLE 0x106b
#define PCI_OHCI_VENDORID_CMDTECH 0x1095 #define PCI_OHCI_VENDORID_CMDTECH 0x1095
#define PCI_OHCI_VENDORID_NEC 0x1033 #define PCI_OHCI_VENDORID_NEC 0x1033
#define PCI_OHCI_VENDORID_NVIDIA 0x12D2
#define PCI_OHCI_VENDORID_OPTI 0x1045 #define PCI_OHCI_VENDORID_OPTI 0x1045
#define PCI_OHCI_VENDORID_SIS 0x1039 #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 #define PCI_OHCI_DEVICEID_NEC 0x00351033
static const char *ohci_device_nec = "NEC uPD 9210 USB controller"; 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 #define PCI_OHCI_DEVICEID_USB0670 0x06701095
static const char *ohci_device_usb0670 = "CMD Tech 670 (USB0670) USB controller"; 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); return (ohci_device_firelink);
case PCI_OHCI_DEVICEID_NEC: case PCI_OHCI_DEVICEID_NEC:
return (ohci_device_nec); return (ohci_device_nec);
case PCI_OHCI_DEVICEID_NFORCE3:
return (ohci_device_nforce3);
case PCI_OHCI_DEVICEID_SIS5571: case PCI_OHCI_DEVICEID_SIS5571:
return (ohci_device_sis5571); return (ohci_device_sis5571);
case PCI_OHCI_DEVICEID_KEYLARGO: case PCI_OHCI_DEVICEID_KEYLARGO:
@ -219,6 +225,9 @@ ohci_pci_attach(device_t self)
case PCI_OHCI_VENDORID_NEC: case PCI_OHCI_VENDORID_NEC:
sprintf(sc->sc_vendor, "NEC"); sprintf(sc->sc_vendor, "NEC");
break; break;
case PCI_OHCI_VENDORID_NVIDIA:
sprintf(sc->sc_vendor, "nVidia");
break;
case PCI_OHCI_VENDORID_OPTI: case PCI_OHCI_VENDORID_OPTI:
sprintf(sc->sc_vendor, "OPTi"); sprintf(sc->sc_vendor, "OPTi");
break; break;