From 7287a7119f44b078c2990f3f043ec82d8d966156 Mon Sep 17 00:00:00 2001 From: Jeroen Ruigrok/asmodai Date: Mon, 27 Oct 2003 21:39:27 +0000 Subject: [PATCH] Add OHCI support for the NVIDIA nForce 2 chipset. FreeBSD PR: kern/47311 Submitted by: Mike Hibler --- sys/bus/pci/ohci_pci.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sys/bus/pci/ohci_pci.c b/sys/bus/pci/ohci_pci.c index 371a3ea119..ac7d61acb9 100644 --- a/sys/bus/pci/ohci_pci.c +++ b/sys/bus/pci/ohci_pci.c @@ -1,5 +1,5 @@ /* $FreeBSD: src/sys/pci/ohci_pci.c,v 1.16.2.5 2002/08/28 20:51:56 joe Exp $ */ -/* $DragonFly: src/sys/bus/pci/Attic/ohci_pci.c,v 1.3 2003/08/07 21:16:47 dillon Exp $ */ +/* $DragonFly: src/sys/bus/pci/Attic/ohci_pci.c,v 1.4 2003/10/27 21:39:27 asmodai Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -78,6 +78,7 @@ #define PCI_OHCI_VENDORID_APPLE 0x106b #define PCI_OHCI_VENDORID_CMDTECH 0x1095 #define PCI_OHCI_VENDORID_NEC 0x1033 +#define PCI_OHCI_VENDORID_NVIDIA 0x10de #define PCI_OHCI_VENDORID_OPTI 0x1045 #define PCI_OHCI_VENDORID_SIS 0x1039 @@ -90,6 +91,9 @@ static const char *ohci_device_amd756 = "AMD-756 USB Controller"; #define PCI_OHCI_DEVICEID_AMD766 0x74141022 static const char *ohci_device_amd766 = "AMD-766 USB Controller"; +#define PCI_OHCI_DEVICEID_NVIDIANF2 0x006710de +static const char *ohci_device_nvidianf2 = "NVIDIA nForce2 USB Controller"; + #define PCI_OHCI_DEVICEID_FIRELINK 0xc8611045 static const char *ohci_device_firelink = "OPTi 82C861 (FireLink) USB controller"; @@ -128,6 +132,8 @@ ohci_pci_match(device_t self) return (ohci_device_amd756); case PCI_OHCI_DEVICEID_AMD766: return (ohci_device_amd766); + case PCI_OHCI_DEVICEID_NVIDIANF2: + return (ohci_device_nvidianf2); case PCI_OHCI_DEVICEID_USB0670: return (ohci_device_usb0670); case PCI_OHCI_DEVICEID_USB0673: @@ -218,6 +224,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; -- 2.41.0