Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci build fix: revert rev. 1.51



details:   https://anonhg.NetBSD.org/src/rev/0e31eacb447f
branches:  trunk
changeset: 755170:0e31eacb447f
user:      cegger <cegger%NetBSD.org@localhost>
date:      Tue May 25 08:50:54 2010 +0000

description:
build fix: revert rev. 1.51

diffstat:

 sys/dev/pci/uhci_pci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c11cc7d093f4 -r 0e31eacb447f sys/dev/pci/uhci_pci.c
--- a/sys/dev/pci/uhci_pci.c    Tue May 25 08:37:10 2010 +0000
+++ b/sys/dev/pci/uhci_pci.c    Tue May 25 08:50:54 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhci_pci.c,v 1.51 2010/05/24 20:29:49 pgoyette Exp $   */
+/*     $NetBSD: uhci_pci.c,v 1.52 2010/05/25 08:50:54 cegger Exp $     */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci_pci.c,v 1.51 2010/05/24 20:29:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci_pci.c,v 1.52 2010/05/25 08:50:54 cegger Exp $");
 
 #include "ehci.h"
 
@@ -172,7 +172,7 @@
        }
 
        /* Figure out vendor for root hub descriptor. */
-       vendor = pci_findvendor_vec(pa->pa_id);
+       vendor = pci_findvendor(pa->pa_id);
        sc->sc.sc_id_vendor = PCI_VENDOR(pa->pa_id);
        if (vendor)
                strlcpy(sc->sc.sc_vendor, vendor, sizeof(sc->sc.sc_vendor));



Home | Main Index | Thread Index | Old Index