summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/include
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2002-05-15 19:23:51 +0000
committerthorpej <thorpej@NetBSD.org>2002-05-15 19:23:51 +0000
commitdada8613e1a474341d94a751bc0a80affe09e7ae (patch)
tree75c95507d5f8b2bf24a3ecf7d0579a42a8a83473 /sys/arch/macppc/include
parent0a08a9975c28dee75f37ddd0a8406df5bfe58e4f (diff)
Let machine-dependent code specify how to enumerate the bus.
Currently, everyone uses pci_enumerate_bus_generic().
Diffstat (limited to 'sys/arch/macppc/include')
-rw-r--r--sys/arch/macppc/include/pci_machdep.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/macppc/include/pci_machdep.h b/sys/arch/macppc/include/pci_machdep.h
index 9b8a149eef0..b8a1b82dc23 100644
--- a/sys/arch/macppc/include/pci_machdep.h
+++ b/sys/arch/macppc/include/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep.h,v 1.15 2001/06/19 12:02:57 simonb Exp $ */
+/* $NetBSD: pci_machdep.h,v 1.16 2002/05/15 19:23:54 thorpej Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
@@ -88,6 +88,9 @@ void *pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t,
int, int (*)(void *), void *);
void pci_intr_disestablish(pci_chipset_tag_t, void *);
+#define pci_enumerate_bus(sc, m, p) \
+ pci_enumerate_bus_generic((sc), (m), (p))
+
/*
* Internal functions.
*/