Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Revert earlier changes to callers of pci_find{vendor, pro...
details: https://anonhg.NetBSD.org/src/rev/c11cc7d093f4
branches: trunk
changeset: 755169:c11cc7d093f4
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue May 25 08:37:10 2010 +0000
description:
Revert earlier changes to callers of pci_find{vendor,product} since
the original routine entrypoint name has been restored.
Requested by dyoung@ and mrg@
diffstat:
sys/arch/i386/pci/gcscehci.c | 6 +++---
sys/dev/cardbus/ehci_cardbus.c | 6 +++---
sys/dev/cardbus/ohci_cardbus.c | 6 +++---
sys/dev/cardbus/uhci_cardbus.c | 6 +++---
sys/dev/pci/azalia.c | 8 ++++----
sys/dev/pci/cs4280.c | 8 ++++----
sys/dev/pci/ehci_pci.c | 6 +++---
sys/dev/pci/ohci_pci.c | 6 +++---
8 files changed, 26 insertions(+), 26 deletions(-)
diffs (220 lines):
diff -r 10628485b212 -r c11cc7d093f4 sys/arch/i386/pci/gcscehci.c
--- a/sys/arch/i386/pci/gcscehci.c Tue May 25 08:35:47 2010 +0000
+++ b/sys/arch/i386/pci/gcscehci.c Tue May 25 08:37:10 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gcscehci.c,v 1.7 2010/05/24 20:29:49 pgoyette Exp $ */
+/* $NetBSD: gcscehci.c,v 1.8 2010/05/25 08:37:10 pgoyette Exp $ */
/*
* Copyright (c) 2001, 2002, 2007 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gcscehci.c,v 1.7 2010/05/24 20:29:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gcscehci.c,v 1.8 2010/05/25 08:37:10 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -150,7 +150,7 @@
sc->sc.sc_bus.usbrev = USBREV_2_0;
/* 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));
diff -r 10628485b212 -r c11cc7d093f4 sys/dev/cardbus/ehci_cardbus.c
--- a/sys/dev/cardbus/ehci_cardbus.c Tue May 25 08:35:47 2010 +0000
+++ b/sys/dev/cardbus/ehci_cardbus.c Tue May 25 08:37:10 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci_cardbus.c,v 1.29 2010/05/24 20:29:49 pgoyette Exp $ */
+/* $NetBSD: ehci_cardbus.c,v 1.30 2010/05/25 08:37:10 pgoyette Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci_cardbus.c,v 1.29 2010/05/24 20:29:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci_cardbus.c,v 1.30 2010/05/25 08:37:10 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -172,7 +172,7 @@
}
/* Figure out vendor for root hub descriptor. */
- vendor = pci_findvendor_vec(ca->ca_id);
+ vendor = pci_findvendor(ca->ca_id);
sc->sc.sc_id_vendor = PCI_VENDOR(ca->ca_id);
if (vendor)
strlcpy(sc->sc.sc_vendor, vendor, sizeof(sc->sc.sc_vendor));
diff -r 10628485b212 -r c11cc7d093f4 sys/dev/cardbus/ohci_cardbus.c
--- a/sys/dev/cardbus/ohci_cardbus.c Tue May 25 08:35:47 2010 +0000
+++ b/sys/dev/cardbus/ohci_cardbus.c Tue May 25 08:37:10 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ohci_cardbus.c,v 1.37 2010/05/24 20:29:49 pgoyette Exp $ */
+/* $NetBSD: ohci_cardbus.c,v 1.38 2010/05/25 08:37:10 pgoyette Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci_cardbus.c,v 1.37 2010/05/24 20:29:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci_cardbus.c,v 1.38 2010/05/25 08:37:10 pgoyette Exp $");
#include "ehci_cardbus.h"
@@ -150,7 +150,7 @@
}
/* Figure out vendor for root hub descriptor. */
- vendor = pci_findvendor_vec(ca->ca_id);
+ vendor = pci_findvendor(ca->ca_id);
sc->sc.sc_id_vendor = PCI_VENDOR(ca->ca_id);
if (vendor)
strlcpy(sc->sc.sc_vendor, vendor, sizeof(sc->sc.sc_vendor));
diff -r 10628485b212 -r c11cc7d093f4 sys/dev/cardbus/uhci_cardbus.c
--- a/sys/dev/cardbus/uhci_cardbus.c Tue May 25 08:35:47 2010 +0000
+++ b/sys/dev/cardbus/uhci_cardbus.c Tue May 25 08:37:10 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci_cardbus.c,v 1.18 2010/05/24 20:29:49 pgoyette Exp $ */
+/* $NetBSD: uhci_cardbus.c,v 1.19 2010/05/25 08:37:10 pgoyette Exp $ */
/*
* Copyright (c) 1998-2005 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci_cardbus.c,v 1.18 2010/05/24 20:29:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci_cardbus.c,v 1.19 2010/05/25 08:37:10 pgoyette Exp $");
#include "ehci_cardbus.h"
@@ -157,7 +157,7 @@
}
/* Figure out vendor for root hub descriptor. */
- vendor = pci_findvendor_vec(ca->ca_id);
+ vendor = pci_findvendor(ca->ca_id);
sc->sc.sc_id_vendor = PCI_VENDOR(ca->ca_id);
if (vendor)
strlcpy(sc->sc.sc_vendor, vendor, sizeof(sc->sc.sc_vendor));
diff -r 10628485b212 -r c11cc7d093f4 sys/dev/pci/azalia.c
--- a/sys/dev/pci/azalia.c Tue May 25 08:35:47 2010 +0000
+++ b/sys/dev/pci/azalia.c Tue May 25 08:37:10 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: azalia.c,v 1.74 2010/05/24 20:29:49 pgoyette Exp $ */
+/* $NetBSD: azalia.c,v 1.75 2010/05/25 08:37:10 pgoyette Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: azalia.c,v 1.74 2010/05/24 20:29:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: azalia.c,v 1.75 2010/05/25 08:37:10 pgoyette Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -342,8 +342,8 @@
aprint_error_dev(self, "couldn't establish power handler\n");
sc->pciid = pa->pa_id;
- vendor = pci_findvendor_vec(pa->pa_id);
- name = pci_findproduct_vec(pa->pa_id);
+ vendor = pci_findvendor(pa->pa_id);
+ name = pci_findproduct(pa->pa_id);
if (vendor != NULL && name != NULL) {
aprint_normal_dev(self, "host: %s %s (rev. %d)",
vendor, name, PCI_REVISION(pa->pa_class));
diff -r 10628485b212 -r c11cc7d093f4 sys/dev/pci/cs4280.c
--- a/sys/dev/pci/cs4280.c Tue May 25 08:35:47 2010 +0000
+++ b/sys/dev/pci/cs4280.c Tue May 25 08:37:10 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cs4280.c,v 1.59 2010/05/24 20:29:49 pgoyette Exp $ */
+/* $NetBSD: cs4280.c,v 1.60 2010/05/25 08:37:10 pgoyette Exp $ */
/*
* Copyright (c) 1999, 2000 Tatoku Ogaito. All rights reserved.
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cs4280.c,v 1.59 2010/05/24 20:29:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cs4280.c,v 1.60 2010/05/25 08:37:10 pgoyette Exp $");
#include "midi.h"
@@ -259,8 +259,8 @@
cs_card = cs4280_identify_card(pa);
if (cs_card != NULL) {
- vendor = pci_findvendor_vec(cs_card->id);
- product = pci_findproduct_vec(cs_card->id);
+ vendor = pci_findvendor(cs_card->id);
+ product = pci_findproduct(cs_card->id);
if (vendor == NULL)
aprint_normal_dev(&sc->sc_dev,
"vendor 0x%04x product 0x%04x\n",
diff -r 10628485b212 -r c11cc7d093f4 sys/dev/pci/ehci_pci.c
--- a/sys/dev/pci/ehci_pci.c Tue May 25 08:35:47 2010 +0000
+++ b/sys/dev/pci/ehci_pci.c Tue May 25 08:37:10 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci_pci.c,v 1.48 2010/05/24 20:29:49 pgoyette Exp $ */
+/* $NetBSD: ehci_pci.c,v 1.49 2010/05/25 08:37:10 pgoyette Exp $ */
/*
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci_pci.c,v 1.48 2010/05/24 20:29:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci_pci.c,v 1.49 2010/05/25 08:37:10 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -208,7 +208,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));
diff -r 10628485b212 -r c11cc7d093f4 sys/dev/pci/ohci_pci.c
--- a/sys/dev/pci/ohci_pci.c Tue May 25 08:35:47 2010 +0000
+++ b/sys/dev/pci/ohci_pci.c Tue May 25 08:37:10 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ohci_pci.c,v 1.45 2010/05/24 20:29:49 pgoyette Exp $ */
+/* $NetBSD: ohci_pci.c,v 1.46 2010/05/25 08:37:10 pgoyette Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci_pci.c,v 1.45 2010/05/24 20:29:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci_pci.c,v 1.46 2010/05/25 08:37:10 pgoyette Exp $");
#include "ehci.h"
@@ -142,7 +142,7 @@
aprint_normal_dev(self, "interrupting at %s\n", intrstr);
/* 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