Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ia64/include PR port-ia64/51261
details: https://anonhg.NetBSD.org/src/rev/649f592c8adf
branches: trunk
changeset: 346882:649f592c8adf
user: scole <scole%NetBSD.org@localhost>
date: Fri Aug 05 17:01:56 2016 +0000
description:
PR port-ia64/51261
Add pci_enumerate_bus
diffstat:
sys/arch/ia64/include/pci_machdep.h | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 70581fb2e9d4 -r 649f592c8adf sys/arch/ia64/include/pci_machdep.h
--- a/sys/arch/ia64/include/pci_machdep.h Fri Aug 05 17:01:13 2016 +0000
+++ b/sys/arch/ia64/include/pci_machdep.h Fri Aug 05 17:01:56 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep.h,v 1.2 2010/06/28 12:14:08 kiyohara Exp $ */
+/* $NetBSD: pci_machdep.h,v 1.3 2016/08/05 17:01:56 scole Exp $ */
/*
* Copyright (c) 2010 KIYOHARA Takashi
* All rights reserved.
@@ -42,4 +42,13 @@
pcireg_t pci_conf_read(pci_chipset_tag_t, pcitag_t, int);
void pci_conf_write(pci_chipset_tag_t, pcitag_t, int, pcireg_t);
+/*
+ * XXX should ia64_pci_enumerate_bus and
+ * #define PCI_MACHDEP_ENUMERATE_BUS ia64_pci_enumerate_bus
+ * be used? acpi_pci appears to require pci_enumerate_bus though.
+ */
+int pci_enumerate_bus(struct pci_softc *, const int *,
+ int (*)(const struct pci_attach_args *),
+ struct pci_attach_args *);
+
#endif
Home |
Main Index |
Thread Index |
Old Index